Den 29-05-2012 13:35, Reka Thirunavukkarasu skrev:
Hi
I'm configuring a load balancer in front of two tomcat instances in
the same machine. I wanted to access my name based virtual host which
was created across those two tomcat instances through load balancer.
In this case, when i send a request like the following: say my load
balancer is running in port 8280 as https:
https://VirtualHostName:8280/
The request at the tomcat is to localhost not to the above
VirtualHost. Can i be able to access name based virtual host through a
load balancer in tomcat, since the mapping in load balancer is to the
actual tomcat instances not to the virtual host. Could you please let
me know how to overcome such an issue in tomcat?
I think you need the <Host> element in your server.xml on each tomcat
but it's hard to say since you have said nothing about your environment
or configurations. I have apache httpd in front of tomcat (using mod_jk
without loadbalancing) and uses it to access virtual hostnames (named
based) without any problem.
Thanks,
Reka
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
Med venlig hilsen/Kind regards
Casper W. Schmidt
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org