httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Edwards <nick.z.edwa...@gmail.com>
Subject [users@httpd] htaccess
Date Wed, 14 Mar 2012 06:41:21 GMT
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@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message