Re: [users@httpd] IndexIgnore is Ignored With Multiple Slashses

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

 



I put the IndexIgnore directive in the .htaccess file in the
directory to be listed (you can see them on-line too).
The only place I could have used <Location > is in
httpd.conf.  I have checked the problem on a few different
machines with different setups and it still seems to happen.
I just tested it on my mac (OSX 10.4.4 with Apache 1.3.33)
using <Directory > in httpd.conf:
<Directory /Library/WebServer/Documents/x/>
        IndexIgnore abc
</Directory>
and I can still bypass the IndexIgnore.
David
(I will take the tip about <Directory > VS <Location > though -- I
know I've used it for things in the past)

On 1/17/06, William A. Rowe, Jr. <wrowe@xxxxxxxxxxxxx> wrote:
> David Wolever wrote:
> > I have noticed that mod_autoindex ignores the IndexIgnore
> > directive if there is more than one slash after the
> > domain name.  For example:
> > http://wolever.net/autoindex/
> > http://wolever.net//autoindex/
> > The htaccess file is included in the directory list.
>
> Dollars to donuts you broke rule one, don't use <Location > blocks to describe
> your filesystem layout, always use <Directory > blocks.  The URI '//' is not
> the same as the URI '/', and Location's follow URI's. This behavior is by
> design.
>
> If I'm wrong, let us know exactly where you put your IndexIgnore directive.
>
> ---------------------------------------------------------------------
> 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
>
>

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