OK I've just realized that you are referring to this message, right?
Code:
****** Index of / ******
[[ICO]] Name Last_modified Size Description
===========================================================================
===========================================================================
Apache/2.2.22 (Ubuntu) Server at localhost Port 80
That basically means your apache2 server is up and running - but there is no /var/www/index.html file. The default index file would originally have been copied over from /usr/share/apache2/default-site by the apache2.2-common post-install script.
Reinstalling apache2.2-common should re-create the /var/www directory (or you can re-create it manually - make sure it has the correct ownership and permissions if you do)
Code:
sudo apt-get update
sudo apt-get install --reinstall apache2 apache2.2-common
$ ls -ld /var/www
drwxr-xr-x 2 root root 4096 Mar 31 18:13 /var/www
If you want the default ("****** It works! ******") index file, you could copy it over manually (but it's just a placeholder - which you will presumably be replacing anyway):
Code:
sudo cp /usr/share/apache2/default-site/index.html /var/www/
Code:
****** It works! ******
This is the default web page for this server.
The web server software is running but no content has been added, yet.
Bookmarks