Serhan Sevim :
> In short,I don't think LVS-NAT is able to handle host header names.
> Looks like it only cares about ip's..
Well, it works for me :). So, LVS only rewrite the header of the TCP packet to
route it to the chosen realserver. The Host: HTTP header is in the DATA part of
the TCP/IP packet, so, everything should work fine. I have several tomcat
instances, with more than 40 virtual host on each IP along with apache 1.3 and
Apache 2.0 webservers also with several virtual hosts.
If you use LVS-NAT, be sure that your NameVirtualHost directive binds to the
NATed IP (not to the public IP). I feel this is your problem.
François.
|