tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: multiple URI
Date Tue, 19 Jan 2010 20:29:53 GMT
> From: Vadym Chepkov [mailto:chepkov@yahoo.com]
> Subject: multiple URI
> 
> I want a servlet to serve two different urls: http://server/A and
> http://server/B, but I don't want to install this servlet as a ROOT
> servlet. Is this possible in tomcat 6?

Do you mean you want the same webapp to be accessed by multiple URLs?  If it's ok to have
more than one instance of the webapp, just deploy it multiple times, once for each URL.  If
you want aliases for a single webapp, the easiest thing is to forward or redirect requests
to the aliases using the tuckey rewrite filter:

http://tuckey.org/urlrewrite/

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus
for use only by the intended recipient. If you received this in error, please contact the
sender and delete the e-mail and its attachments from all computers.


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


Mime
View raw message