Hi,
You can have a simple redirect filter mapped to /* in one context that
just redirects to the other.

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: Mats Henrikson [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, May 11, 2004 12:16 PM
>To: Tomcat Users List
>Subject: Re: having webapp reachable at two URLs
>
>Right, I managed to find some more info on this pointing me in the
>direction of setting up two different contexts in server.xml, with the
>same docBase but different path. However, as doing this would also
>double the database connections etc, is there a way of doing this with
>just a single context at two URLs?
>
>Mats
>
>On Tue, 2004-05-11 at 17:00, Mats Henrikson wrote:
>> 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?
>>
>> Mats
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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

Reply via email to