instructions from new install.
open terminal
type: mkdir /home/dan/Web
type: su root
type: ROOT PASSWORD
type: apt-get -f install apache2 php5 mysql-server
type: leafpad 
/etc/apache2/site-enabled/000-default
Old:
Code: Select all
<VirtualHost *:80>
    ServerAdmin webmaster@localhost
    DocumentRoot /var/www
    <Directory />
        Options FollowSymLinks
        AllowOverride None
    </Directory>
    <Directory /var/www/>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride None
        Order allow,deny
        allow from all
    </Directory>
    ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
    <Directory"/usr/lib/cgi-bin">
        AllowOverride None
        Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
        Order allow,deny
        Allow from all
    </Directory>
    ErrorLog ${APACHE_LOG_DIR}/error.log
    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn
    CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Change to:
Code: Select all
<VirtualHost *:80>
    ServerAdmin webmaster@localhost
    DocumentRoot /home/dan/Web
    <Directory />
        Options FollowSymLinks
        AllowOverride None
    </Directory>
    <Directory /home/dan/Web>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride None
        Order allow,deny
        allow from all
    </Directory>
    ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
    <Directory"/usr/lib/cgi-bin">
        AllowOverride None
        Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
        Order allow,deny
        Allow from all
    </Directory>
    ErrorLog ${APACHE_LOG_DIR}/error.log
    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn
    CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
save and close:
type: service apache2 restart
type: exit
type: leafpad /home/dan/Web/index.html
Write:
Code: Select all
<html>
<body>
This is a test page
</body>
</html>
save and close:
type: exit
open web browser.
type: 
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://localhost"
linktext was:"http://localhost"
====================================
Does it work?