Agenda | General | Small Business Server | Old pages | Hyper text server (HTTP) | Ubuntu 12.04 | Settings | Locating files


Create a folder which name is Webpages in the DataPart partition.

Add two new files into this folder:

    index.html
    index.php


Open the file index.html with text editor program. In Terminal:

    gedit /media/DataPart/Webpages/index.html

Write following lines in to the file:

    <html>
    <body>
    This is my html page.
    </body>
    </html>

Save the file and quit.


Open the file index.php with text editor program. In Terminal:

    gedit /media/DataPart/Webpages/index.php

Write following lines in to the file:

    <?php
    print 'This is my php page.';
    ?>

Save the file and quit.