######################################################################## /etc/hosts: -------------------- 127.0.0.1 main.lan.local 127.0.0.1 tsghntt.main.lan.local 127.0.1.1 vbox-localhost # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ######################################################################## /etc/host: -------------------- 127.0.0.1 tsghntt.main.lan.local ######################################################################## /etc/apache2/sites-available/default -------------------- ServerAdmin webmaster@localhost ServerName main.lan.local DocumentRoot /var/www Options FollowSymLinks AllowOverride none Options Indexes FollowSymLinks MultiViews AllowOverride all Order allow,deny allow from all ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all 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 Alias /doc/ "/usr/share/doc/" Options Indexes MultiViews FollowSymLinks AllowOverride None Order deny,allow Deny from all Allow from 127.0.0.0/255.0.0.0 ::1/128 #Settings for CGI ScriptAlias /local-bin /usr/bin AddHandler application/x-httpd-php5 php Action application/x-httpd-php5 /local-bin/php-cgi ######################################################################## /etc/apache2/sites-available/dings -------------------- DocumentRoot /var/www/dings/ ServerName dings.main.lan.local Options Indexes FollowSymLinks MultiViews +Includes AllowOverride All Order allow,deny allow from all