LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: virtual hosts on real server

To: Zachariah Mully <zmully@xxxxxxxxxxxxxx>
Subject: RE: virtual hosts on real server
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Julian Anastasov <ja@xxxxxx>
Date: Thu, 31 Jan 2002 02:09:04 +0000 (GMT)
        Hello,

On 30 Jan 2002, Zachariah Mully wrote:

> 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>

        And even to mix them:

<VirtualHost 192.168.0.100 10.0.0.200:8080 * *:8081>
        ServerName blahblah.blah
        # For '*' you can even use:
        ServerAlias catch-me.another.domain.com *.everything.dot.com
</VirtualHost>


Regards

--
Julian Anastasov <ja@xxxxxx>



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