This forum is in archive mode. You will not be able to post new content.

Author Topic: Localhost not showing index.html  (Read 1786 times)

0 Members and 1 Guest are viewing this topic.

Offline sashe

  • /dev/null
  • *
  • Posts: 14
  • Cookies: 5
  • What are you waiting for? Applaud!
    • View Profile
Localhost not showing index.html
« on: 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!
- Hack the world!

Offline flowjob

  • Knight
  • **
  • Posts: 327
  • Cookies: 46
  • Pastafarian
    • View Profile
Re: Localhost not showing index.html
« Reply #1 on: 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...
« Last Edit: June 18, 2012, 05:07:39 PM by Area_13 »
Quote
<phil> I'm gonna DDOS the washing machine with clothes packets.
<deviant_sheep> dont use too much soap or youll cause a bubble overflow

Offline sashe

  • /dev/null
  • *
  • Posts: 14
  • Cookies: 5
  • What are you waiting for? Applaud!
    • View Profile
Re: Localhost not showing index.html
« Reply #2 on: June 19, 2012, 02:22:23 PM »
Thanks Area_13, solved it! :)
- Hack the world!

 



Want to be here? Contact Ande, Factionwars or Kulverstukas on the forum or at IRC.