tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Boris Folgmann <bo...@folgmann.de>
Subject How to JkMount /app1 to /
Date Thu, 16 Sep 2004 20:40:18 GMT
Ho!

I've got an Apache hosting multiple vhosts. Some of them should be
connected to Tomcat using mod_jk.

Tomcat 4 is running multiple webapps:
/app1
/app2
...

What I can do in Apache is:
www.dom1.com/app1 is mapped to /app1 using "JkMount /app1 Worker"
www.dom2.com/app2 is mapped to /app2 using "JkMount /app2 Worker"
...

But how can I avoid /app1 and /app2 in the URL?
It shouldn't be necessary because the domains are different, so Apache has
differnt vhosts for them.

So what I want to have is:
www.dom1.com should be mapped to /app1
www.dom2.com should be mapped to /app2
...

"JkMount / Worker" is not possible, because I have no root context in
tomcat. Additionally this construction can't disinguish between /app1 and
/app2.

Any idea?

greetings,
   boris


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


Mime
View raw message