# Listen: Allows you to bind Apache to specific IP addresses and/or # ports, in addition to the default. See also the VirtualHost command #Listen 192.168.0.0:80 Listen 127.0.0.1:8444 # VirtualHost: Allows the daemon to respond to requests for more than one # server address, if your server machine is configured to accept IP packets # for multiple addresses. This can be accomplished with the ifconfig # alias flag, or through kernel patches like VIF. # Any httpd.conf or srm.conf directive may go into a VirtualHost command. # See also the BindAddress entry. ################# IP-based Virtual Hosts #<VirtualHost 192.168.0.0> #ServerAdmin webmaster@host.some_domain.com #DocumentRoot /home/web000/public_html #ServerName 192.168.0.0 #ErrorLog logs/192.168.0.0-error_log #TransferLog logs/192.168.0.0-access_log #ScriptAlias /cgi-bin/ /home/web000/public_html/cgi-bin/ #</VirtualHost> ################# Named VirtualHosts #NameVirtualHost 111.222.33.44 #<VirtualHost 111.222.33.44> #ServerName www.domain.tld #ServerPath /domain #DocumentRoot /web/domain #</VirtualHost> <VirtualHost 127.0.0.1:8444> DocumentRoot @apacheadmroot@/squidGuard DirectoryIndex squidGuard.cgi ErrorLog @logs@/@name@.error-squidGuard_log TransferLog @logs@/@name@.access-squidGuard_log </VirtualHost>