LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: virtual hosts on real server

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: virtual hosts on real server
From: Zachariah Mully <zmully@xxxxxxxxxxxxxx>
Date: 30 Jan 2002 18:48:55 -0500
Unless you need both IP and Name based virtual hosting on the same box,
then you can simply wildcard all your <VirtualHost> directives like
this:

<VirtualHost *>
        ServerName blahblah.blah
</VirtualHost>

Z

On Wed, 2002-01-30 at 18:31, mah18@xxxxxxxxxx wrote:
> Hi everyone, 
> 
> I'm running apache, and I'm curious as to what the virtual host section 
> should look like for each of the real servers.
> 
> NameVirtualHost X.X.X.X
> 
> <VirtualHost X.X.X.X>
>     ServerAdmin webmaster@xxxxxxxxxxxxxxxxxxxxxx
>     DocumentRoot /www/docs/dummy-host.example.com
>     ServerName dummy-host.example.com
>     ErrorLog logs/dummy-host.example.com-error_log
>     CustomLog logs/dummy-host.example.com-access_log common
> </VirtualHost> 
> 
> Should the X.X.X.X on my real servers be my VIP or should they be the IP of 
> the real servers?  I'm thinking they should be the VIP but I'm not sure.  Any 
> ideas?
> 
> Matt
> 
> --------------------------------------------------------------------
> mail2web - Check your email from the web at
> http://mail2web.com/ .
> 
> 
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users




<Prev in Thread] Current Thread [Next in Thread>