[KLUG Members] Apache virtual hosts

Robert G. Brown members@kalamazoolinux.org
Thu, 09 Jan 2003 15:36:08 -0500


>Yes NameVirtualHost xxx.xxx.xxx.xxx is uncommented.
>
>I am using RH8.0 and I believe apache 2.0
OK, On my 8.0 box, Apache 20.0.40 is running, a typical virtual host
definition is shown below:
----------------------------------
NameVirtualHost 192.168.24.110

<VirtualHost 192.168.24.110>
    ServerName www.whizdomsoft.com
    ServerAdmin webmaster@whizdomsoft.com
    DocumentRoot /var/www/html/www.whizdomsoft.com
    ErrorLog logs/www.whizdomsoft.com-error_log
    CustomLog logs/www.whizdomsoft.com-access_log common
    php_value include_path '.:/var/www/html/www.whizdomsoft.com/parts:/var/www/html/www.whizdomsoft.com/texts'
   <Directory "/var/www/html/www.whizdomsoft.com">
    Options +Includes
   </Directory>
</VirtualHost>
------------------------------------

I've got about 20 of the little devils, and they all work great
(except as noted in a prior thread, I can recap, but it's not
 relevent to this discussion).

192.168.24.110 is the IP address of the webserver on the LAN. 
I will switch to it by altering a port-forwarding rule on the 
router.

>Is there some thing higher up in the settings I need to switch?
Not for this.

						Regards,
						---> RGB <---