EvilZone

Programming and Scripting => Web Oriented Coding => : sashe June 18, 2012, 04:44:52 PM

: Localhost not showing index.html
: sashe June 18, 2012, 04:44:52 PM
Ok, so I have Apache 2.2 that I recently installed, and it worked fine until I changed the name of the index file in htdocs and now it shows Index of / and not the index.html file.
 I checked everything the DirectoryIndex in conf/httpd.conf is fine and as it should be, and everything else in httpd is looking fine.
 I just renamed the file from index to pocetna and then returned it back to index and that's when it started to show Index of / .
When it worked fine, on localhost it showed the index.html and on http://127.0.0.1 it showed the Index of / . Now on both it shows the Index of / .
Also if I type localhost/index.html or 127.0.0.1/index.html it displays:
Not Found The requested URL /index.html was not found on this server.


HELP!
: Re: Localhost not showing index.html
: flowjob June 18, 2012, 05:03:30 PM
It seems there's no file named index.html
Check it for spelling mistakes...
or if you have more than one index.*
Or check if you have the right to execute it.

And check if localhost/index.html or 127.0.0.1/index.html really redirect to the directory they are saved in...
: Re: Localhost not showing index.html
: sashe June 19, 2012, 02:22:23 PM
Thanks Area_13, solved it! :)