httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mihamina Rakotomandimby <>
Subject [users@httpd] AllowOverride All but AuthConfig
Date Mon, 02 Sep 2013 12:20:33 GMT
Hi all

At VirtualHost level, I would like to AllowOverride All but AuthConfig 
for "/var/www/html".

That is in order to force Auth on this server but allow all other 
directives in all .htaccess under "/var/www/html" and subdirectories.

When documenting, I see that the list of Directives is finite:

Is this enough?

<Directory /var/www >
     AllowOverride None

<Directory /var/www/html >
     AllowOverride FileInfo Indexes Limit Options

In reality, I would like to allow All, but I constraint is to ensure the 
documents are not published, because it's an UAT server and it would be 
harmfull if Google (just an example) ever indexes the content.


View raw message