You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Aaron Carr <aa...@aaroncarr.com> on 2004/07/03 22:27:43 UTC

[users@httpd] Directory listing problem

Ok...here's the problem.  This is one of those rare times when I actually
DO want directory listing turned on, because I'm creating a file
repository.

I using httpd-2.0.49-4 on Fedora Core 2.

I've added the following to my httpd.conf file:

<VirtualHost mirrors.domain.com>
DocumentRoot "/u01/linux"
ServerName mirrors.domain.com
</VirtualHost>

<Directory "/u01/linux">
Options +Indexes
AllowOverride None
Order Deny,Allow
Allow from all
</Directory>

However, when I try to connect, hoping to get a file listing, I just get
directed to the default site, and in the error_log, the following entry is
written:

Directory index forbidden by rule: /u01/linux/

I've searched google repeatedly for the last couple hours, but so far
everything I've seen shows that this should work.

What little detail am I missing?

Thanks in advance for your help.





---------------------------------------------------------------------
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] Directory listing problem

Posted by Joshua Slive <js...@gmail.com>.
On Sat, 3 Jul 2004 16:27:43 -0400 (EDT), Aaron Carr
<aa...@aaroncarr.com> wrote:

> <Directory "/u01/linux">
> Options +Indexes
> AllowOverride None
> Order Deny,Allow
> Allow from all
> </Directory>
> 
> However, when I try to connect, hoping to get a file listing, I just get
> directed to the default site, and in the error_log, the following entry is
> written:
> 
> Directory index forbidden by rule: /u01/linux/

This means that some other Options directive is overriding the one you
just placed.  Look through httpd.conf, and Included conf file, and all
your .htaccess files for all the Options directives, and find the one
that is overriding this one.  See also:
http://httpd.apache.org/docs/misc/FAQ.html#options

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