Re: [users@httpd] DirectoryIndex not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux