Home

Surfing the net

Server Configuration (Linux)

Download all configurations (pdf)

NIC configuration

#insmod 3c59x
#ifconfig eth0 172.16.0.130 netmask 255.255.255.192 broadcast 172.16.0.191
#route add default gw 172.16.0.129


Apache httpd.conf section for virtual hosts

<VirtualHost 172.16.0.130>
   ServerName gandalf.rivendell
   DocumentRoot /www/gandalf
   TransferLog /www/gandalf/transfer_log
   ErrorLog /www/gandalf/error_log
<VirtualHost>
<VirtualHost 172.16.0.130>
   ServerName aragorn.rivendell
   DocumentRoot /www/aragorn
   TransferLog /www/aragorn/transfer_log
   ErrorLog /www/aragorn/error_log
</VirtualHost>