Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Users

htaccess

 

 

Apache users RSS feed   Index | Next | Previous | View Threaded


nick.z.edwards at gmail

Mar 13, 2012, 11:41 PM

Post #1 of 1 (85 views)
Permalink
htaccess

Hi,
Just trying to clarify it is best to allow these in the virtualhost
root on a per domain

For instance at present we have
<Directory />
AllowOverride None
Options None
Require all denied
</Directory>

I know this is good :)

But then we have
<Directory "/var/www">
AllowOverride AuthConfig
Options +Indexes
</Directory>

now assume each virtualhosts web root is under
/var/www/virtuals/domain.name/var/www/html

I understand that current setup means apache looks in all dirs up to /var/www

So, am I assuming it is best in each <virtualhost> container I am
better off using a directory container like
<directory /var/www/virtuals/domain.name/var/www/html?
AllowOverride AuthConfig
</directory>
and removing authconfig from the /var/www

I am thinking this saves a little performance as it then only looks
for .htaccess in

/var/www/virtuals/domain.name/var/www/html
/var/www/virtuals/domain.name/var/www/html/blog/
/var/www/virtuals/domain.name/var/www/html/blog/includes


rather than going up the chain further, is that correct? 3 looks versus 8 ?


Also seeing segfaults still occasionally, no further info on that,
with 2K hosts a machine it is impossible to peruse every log trying to
track down what host/request caused it.

Also (they say things come in threes!) any comments on previous post a
few days ago re "crazy logging" :->
Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe [at] httpd
For additional commands, e-mail: users-help [at] httpd

Apache users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.