Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Redirecting multiple virtualhosts from apache to tomcat

Lutz Maibach

2003-10-15


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@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.