On Fri, Mar 13, 2009 at 12:19 PM, Julien Pauli <[email protected]> wrote: > Hi all. > > I did know that activating .htaccess makes Apache look in all the > subdirectories of the DocRoot (or Vhost) to look for .htaccess files and > allow inheritence for them > > But passing strace on the httpd process shows currious things : > > Apache seems to look behind the DocRoot as well, here it is : >
They get parsed for whatever on-disk path you allow it, and the various values are merged as you go down. It doesn't skip directories outside of your Docroot/Alias/etc. Use "AllowOverrride None" in <Directory /> if you only want to turn on htaccess for your DocumentRoot -- Eric Covener [email protected] --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [email protected] " from the digest: [email protected] For additional commands, e-mail: [email protected]
