I use Ubuntu 13.10 for my home system. Today I upgraded apache from version 2.4.6 to version 2.4.7 and it stopped working. By this I mean the following:
Apache is running (I checked with
pgrep apache and it has the following version
2.4.7-1+sury.org~saucy+1). When I try to access
http://localhost/ I get
The requested URL / was not found on this server.
Apache/2.4.7 (Ubuntu) Server at localhost Port 80
The same thing when I try
The requested URL /index.html was not found on this server.
I cleaned my
/var/www folder (removed everything and the only thing that is left is
index.html which has just one world inside). I also checked that apache has permissions to read the file (in fact I put 777 for all www directory and everything inside just to be sure).
access.log and tried to access localhost once again. Error.log has not changed and the only line :
127.0.0.1 - - [TIMESTAMP] "GET /index.html HTTP/1.1" 404 498 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.107 Safari/537.36"
appeared in access.log.
I am out of ideas what else can I try. Any idea how can I fix this? Another relevant thing is that when I was upgrading apache, it asked me if I want to change my conf file with the new one and I decided to stick with mine (I regret this right now).