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. <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
>    "   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [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]

Reply via email to