You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Lutz Maibach <kl...@easycom.de> on 2003/10/15 11:38:27 UTC

Redirecting multiple virtualhosts from apache to tomcat

Hi,
I've installed tomcat 4.1.27, mod_jk1.2.4 and Apache 2.0.40. Since I'm
using several virtual hosts in apache  and all should access servlets I
try to configure the server.xml that, for example, the tomcat-examples
can be accessed from all virtualhosts.

Unforunately it's only possible to access them either via
http://localhost/examples  or when I manualy duplicate the
vitualhost-entry in the mod_jk.conf and change the Virtualhost to
192.168.100.200 (the main serveradress).

How do I have to change the server-xml, that my main-adress (the .200)
and my  two virtualhosts (.201 and .202) get the examples when I type
htttp://192.168.100.201 into my browser?

An example would be very helpfull.

Thanks in advance

Lutz


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org