httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Wolever <wolever.li...@gmail.com>
Subject Re: [users@httpd] IndexIgnore is Ignored With Multiple Slashses
Date Tue, 17 Jan 2006 23:46:55 GMT
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@rowe-clan.net> 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

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


Mime
View raw message