Can't find Localhost files

Posted by GMF on Ask Ubuntu See other posts from Ask Ubuntu or by GMF
Published on 2012-09-13T13:40:29Z Indexed on 2012/09/13 15:51 UTC
Read the original article Hit count: 509

Filed under:
|
|
|
|

Hope you can help. This is my first time trying Ubuntu/Linux.

I am logged in as root I have downloaded and installed LAMP and PHPMYADMIN. I get the test page under localhost say that It works and is installed Correctly. I have also put my files in the /var/www. they are PHP files When I put the address localhost/(page name.php) I get an error saying

 Not Found

 The requested URL /index.php was not found on this server.
 Apache/2.2.22 (Ubuntu) Server at localhost Port 80

I Have put the files in the wrong folder?? If I look in the "/etc/ap[ache2/sites-available/default", It tells my my DocumentRoot is /var/www

Would love somehelp on this please

Many thanks GF

© Ask Ubuntu or respective owner

Related posts about apache

Related posts about php