# 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 # 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. NameVirtualHost 127.0.0.1 ServerName localhost DocumentRoot /var/www/html ServerName www.localhost DocumentRoot /var/www/ricomtrust DirectoryIndex index.shtml index.html ScriptAlias /RicomTrust/ /var/www/ricomtrust/cgi-bin/ AddType text/html .shtml AddHandler server-parsed .shtml Options +Includes ################# IP-based Virtual Hosts # #ServerAdmin webmaster@www.localhost #DocumentRoot /var/www/ricomtrust #ServerName www.localhost #ErrorLog logs/www.localhost-error_log #TransferLog logs/www.localhost-access_log #ScriptAlias /cgi-bin/ /var/www/ricomtrust/cgi-bin/ # ################# Named VirtualHosts #NameVirtualHost 127.0.0.1 # #ServerName www.localhost #ServerPath /var/www/ricomtrust #DocumentRoot /var/www/ricomtrust #