httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "KENNEY, William (Info. Tech. Services)" <Kenn...@easternct.edu>
Subject RE: [users@httpd] Directory Listings
Date Fri, 17 Jan 2003 16:03:51 GMT
Hello,

I'm fairly new to Apache, but the explanation of "IndexIgnore" in O'Reilly's
"Apache, The Definitive Guide" might be a solution.

Bill

William P. Kenney
Unix Systems Manager
Eastern Connecticut State University
(860) 465-4688
(860) 465-4675 fax 


-----Original Message-----
From: Joshua Slive [mailto:joshua@slive.ca] 
Sent: Friday, January 17, 2003 10:42 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Directory Listings



On Thu, 16 Jan 2003, Darryl Cook wrote:
> <Directory />
>     Options FollowSymLinks
>     AllowOverride All
>     Options +Includes +Indexes
>     XBitHack on
>  </Directory>
>
>  <Directory /usr/local/etc/httpd/htdocs/u/cs/khj>
>   Options FollowSymLinks
>   AllowOverride All
>   Options +Includes -Indexes
>   XBitHack on
>  </Directory>

Start by reading the docs for Options, with special attention to the
effect of "+" and "-" options.  What you have makes no sense.
http://httpd.apache.org/docs-2.0/mod/core.html#options

Probably what you want is

<Directory />
Options FollowSymLinks Includes Indexes
</Directory>

<Directory  /usr/local/etc/httpd/htdocs/u/cs/khj>
Options -Indexes
</Directory>

But that doesn't appear to be the main problem.  So, some other things to
check:

1. Are you ABSOLUTELY SURE that you are pointing to the right directory,
and there are no symlinks or other funky things going on?

2. Are you sure you don't have any <Location> sections or later
<Directory> sections overriding this configuration with another Options
directive?

3. Have you restarted the server after making changes?

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

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