Agenda | General | Small Business Server | Old pages | Hyper text server (HTTP) | Ubuntu 12.04 | Settings | Editing default file

Open the file default in etc/apache2/sites-available folder with administrator rights. In Terminal:

    sudo gedit /etc/apache2/sites-available/default

1) Define the location of WEB page files.
2) If Indexes is removed, the contents of the web page folders can not be viewed when both index.html and index.php files do not exist.
3) Add the following lines to the file:
    <IfModule dir_module>
    DirectoryIndex index.html index.php
    </IfModule>

Save the file and quit. Apache must be restarted in order to apply changes:

    sudo /etc/init.d/apache2 restart