httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kckep...@valdosta.edu
Subject Re: [users@httpd] DirectoryIndex not working
Date Wed, 28 Jun 2006 14:10:00 GMT

> I'm running a website on apache.  I have an index.html in /link.  
> When I
> request the following link: http://localhost/link/ It gives me a 
> Forbidden> error message.  However if I rename the index.html to 
> index.htm, the link:
> http://localhost/link/ works without any problems 
> 

Make sure index.html is in your list of directory indexes in your
httpd.conf. Here's mine:

DirectoryIndex index.php index.shtml index.html index.htm

(Apache will use the first on it finds in that directory from that list.)

--
Kyle

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