Jump to content


This topic is now archived and is closed to further replies.



Recommended Posts

I installed Apache, moved my html files to the directory they need to be in ... Now when I go to the site or http://localhost I get "Index Of" rather than the actual "index.html" file that should be what I see when I go to the site ... What needs to be changed so that I can view the actual contents of that "index.html" file?  I attached a JPG to this post in case you don't know what I mean by "index of".


[attachment deleted by admin]

Share this post

Link to post
Share on other sites
open up the httpd.conf and find the following line:
[code]# same purpose, but it is much slower.
After where it says DirectoryIndex there should be a lists of index.(extension here). Check to see if index.html is in that list or if you use .htm as the file extensions check that index.htm is in the list. If index.html or index.html is not in that list then add them in, making sure you add a spaces between them eg:
[code]DirectoryIndex index.html index.html.var index.php index.htm[/code]

Save the httpd.conf and restart the Apache server for the changes to be made.

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.