tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Altankov Peter" <PAltan...@globul.bg>
Subject RE: mapping different JKMounts to same Tomcat context
Date Thu, 11 Dec 2003 08:03:35 GMT
Why don’t you try the Apache's mod_alias directive:

<IfModule mod_alias.c>
   Alias /xyz/ "/path/to/abc"
</IfModule>

Since you have only 1 instance of tomcat and one instance of your webapp -> this should
do.


-----Original Message-----
From: Vijay Kandy [mailto:VijayK@mailcode.com] 
Sent: 10 Декември 2003 г. 18:52
To: 'Tomcat Users List'
Subject: RE: mapping different JKMounts to same Tomcat context


Thank you but the doc doesnt describe mapping to same context.

If I have one worker per Tomcat instance, they work fine e.g:

JKMount /abc/* WORKER1
JKMount /xyz/* WORKER2

where WORKER1 and WORKER2 are two different instances - this setup works fine.

But I would like to do:

JKMount /abc/* WORKER
JKMount /xyz/* WORKER

where WORKER is a Tomcat with just one context.

Thanks,
Vijay



-----Original Message-----
From: Michael Cardon [mailto:mic@bendcable.com]
Sent: Wednesday, December 10, 2003 11:45 AM
To: Tomcat Users List
Subject: RE: mapping different JKMounts to same Tomcat context


You can look at my HOW-TO file at http://www.cardon.biz/docs/tomcat/ and see if this helps
you...


-----Original Message-----
From: Vijay Kandy [mailto:VijayK@mailcode.com]
Sent: Wednesday, December 10, 2003 8:35 AM
To: 'Tomcat Users List'
Subject: mapping different JKMounts to same Tomcat context


Hello all,

I am not able to find a solution in the archives to my issue. I would like to mount different
requests to the same context in Tomcat e.g:

Lets say I have a context called /test in Tomcat (v4.1.27)

I would like to map requests starting with
www.abc.net/foo to /test
www.abc.net/bar to /test

Has anyone done this before?

Thanks,
Vijay

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


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

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


---------------------------------------------------------------------
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