Re: Virtualhosts

From: Molnár Gábor <gabor#hirek.hu>
Date: Tue, 30 Dec 2008 13:39:08 +0100


I see, thanks.
I probed *:80, but in this case only the first domian come in... :s

I don't no why...

Benoit wrote:
> Well your problem is in the understanding of how haproxy and/or apache
> works ...
> it's not like LVS where the LB machine redirect paquets using MAC
> address, instead
> haproxy keep the connection from the client and open a new connection to
> the backend
> server and basically copy/paste from the client socket to the backend
> socket.
>
> your virtualhost should be configured with the apache server ip address
> or to simply
> use the asterisk:
> ...
> NameVirtualHost *:80
> <VirtualHost *:80>
> ServerName ...
> ...
> </VirtualHost>
> <VirtualHost *:80>
> ServerName ...
> ...
> </VirtualHost>
> <VirtualHost *:80>
> ServerName ...
> ...
> </VirtualHost>
>
>
>
>
Received on 2008/12/30 13:39

This archive was generated by hypermail 2.2.0 : 2008/12/30 13:45 CET