Re: strace on httpd and .htaccess directories looked at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 13, 2009 at 12:19 PM, Julien Pauli <doctorrock83@xxxxxxxxx> 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
covener@xxxxxxxxx

---------------------------------------------------------------------
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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux