Hi I am trying to deny .httaccess to overide directives in a top level directory /

<VirtualHost *:80>

..

<Directory />
   AllowOverride None
</Directory>



but I am also trying to allow .htaccess in sub directories

<Directory /b>
   AllowOverride All
</Directory>

</VirtualHost>


This isn't working for me. It seems the / Directory is applying the AllowOverride to the whole tree.


If I fall back to .htaccess files and just the <Directory /> section everything works fine.

Any ideas on my first problem? I have looked at the apache 2.2 docs which we have and you can do it to it doesn't seem to work.
http://httpd.apache.org/docs/2.2/mod/core.html#directory

Tyler


Reply via email to