No. Jk can't rewrite the request. But mod_rewrite can.

In fact - based on the problem below - using mod_rewrite would probably be the "easiest".

-Tim

Mike Curwen wrote:

If you use Apache in front with jk, could you supply two different
jkmount directives ? (I'm actually asking a question, since I don't
know). ;)




-----Original Message-----
From: Mats Henrikson [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 11, 2004 11:00 AM
To: Tomcat User
Subject: having webapp reachable at two URLs



Hi,


I want to make a certain Tomcat webapp available at two different URLs, but still be coming from the same source. I seem to remember having seen documentation on how to do this, but I can't find it now. I am using Tomcat 4.1.30.

Say I have the following being served by a Tomcat instance:


http://my.server.com/special-webapp/


but I also want the special-webapp to be reachable from:

http://my.server.com/different-url-webapp/

but I don't want to have to deploy the files at two different places in
the $CATALINA_HOME/webapps/ directory.


Could anybody point me in the right direction please?


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to