httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: [users@httpd] Directory index forbidden by rule: /www/htdocs (403 Forbidden)
Date Thu, 01 Apr 2004 15:52:41 GMT

On Thu, 1 Apr 2004 ogjunk-h@yahoo.com wrote:
> Goal (pretty standard):
>   Then the file is not specified in the request, load index.html in
>   that directory.  If there is no index.html, do _not_ allow directory
>   browsing.
>
> Problem:
>   I am getting 403 Forbidden and this error in my error_log:
>
>     Directory index forbidden by rule: /www/htdocs

>   DocumentRoot /www/htdocs
>   DirectoryIndex index.html
>   <Directory "/www/htdocs">
>     Options FollowSymLinks MultiViews
>     AllowOverride None
>     Order allow,deny
>     Allow from all
>     DirectoryIndex index.html
>   </Directory>

If you request the file directly (http://yourhost.example.com/index.html)
does it work?

Are you sure the file is named *exactly* index.html, all lowercase, etc?

Are there any other DirectoryIndex directives (for example, in an
.htaccess file) that could be overriding this one?

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


Mime
View raw message