Re: [users@httpd] Strange problem with Options +Indexes

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

 



Joshua Slive wrote:
On 8/22/05, Stuart Gall <stuart@xxxxxxxxx> wrote:

I haven't tested this myself, but my guess is that mod_autoindex
(which generates the directory listings) is doing a file-level
sub-request on each entry in the directory to see if it is accessible.
For some reason this sub-request is not processing the <Location>
sections, only the <Directory> sections.

Makes sense.
A bug then, or perhaps a security feature?

I think its a bug, but I'm not sure.

Well, it is a security feature to subrequest each of the files.  Because
this is using a very optimized file subdir lookup, the full <Location>
tree might not be parsed.

It sounds like it could be a bug; but at the same time, you've hit on an
edge case which should be a reminder to never mix <Location >'s when you
really mean to call out either <Files > or <Directory >'s.

Bill

---------------------------------------------------------------------
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