You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Joseph A Nagy Jr <jo...@charter.net> on 2003/05/11 19:30:18 UTC

[users@httpd] Odd Behavior with IndexIgnore

I have IndexIgnore currently set to IndexIgnore .??* *~ *# HEADER* 
README* RCS CVS *,v *,t, robots.txt, *.js so that javascript files and 
the robots.txt file won't be listed in any directory listings. The odd 
behavior comes in now. I used to also have 'logs' in there so that my 
server log dir's won't show.

Here is the odd behavior.

If I put robots.txt before *.js, robots.txt will show but *.js won't. 
Same if I put 'logs' (minus single qoutes) before anything else. I run 
Apache 1.3.27 on RedHat Linux 7.2


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


Re: [users@httpd] Odd Behavior with IndexIgnore

Posted by Joseph A Nagy Jr <jo...@charter.net>.
Joshua Slive wrote:
> On Sun, 11 May 2003, Joseph A Nagy Jr wrote:
> 
> 
>>I have IndexIgnore currently set to IndexIgnore .??* *~ *# HEADER*
>>README* RCS CVS *,v *,t, robots.txt, *.js so that javascript files and
>>the robots.txt file won't be listed in any directory listings. The odd
>>behavior comes in now. I used to also have 'logs' in there so that my
>>server log dir's won't show.
>>
>>Here is the odd behavior.
>>
>>If I put robots.txt before *.js, robots.txt will show but *.js won't.
>>Same if I put 'logs' (minus single qoutes) before anything else. I run
>>Apache 1.3.27 on RedHat Linux 7.2
> 
> 
> Get rid of the commas.  You were probably confused by "*,v", but that is
> actually matching a comma in a filename, not using the comma as a
> separator.  Arguments to apache directives are almost always
> space-separated.
> 
> Joshua.

Doh. Thanks. :)


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


Re: [users@httpd] Odd Behavior with IndexIgnore

Posted by Joshua Slive <jo...@slive.ca>.
On Sun, 11 May 2003, Joseph A Nagy Jr wrote:

> I have IndexIgnore currently set to IndexIgnore .??* *~ *# HEADER*
> README* RCS CVS *,v *,t, robots.txt, *.js so that javascript files and
> the robots.txt file won't be listed in any directory listings. The odd
> behavior comes in now. I used to also have 'logs' in there so that my
> server log dir's won't show.
>
> Here is the odd behavior.
>
> If I put robots.txt before *.js, robots.txt will show but *.js won't.
> Same if I put 'logs' (minus single qoutes) before anything else. I run
> Apache 1.3.27 on RedHat Linux 7.2

Get rid of the commas.  You were probably confused by "*,v", but that is
actually matching a comma in a filename, not using the comma as a
separator.  Arguments to apache directives are almost always
space-separated.

Joshua.

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