You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Boris Folgmann <bo...@folgmann.de> on 2004/09/16 22:40:18 UTC

How to JkMount /app1 to /

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