httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
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 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 (
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?


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message