Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: redirect with tomcat

David Wall

2006-03-16

Replies:

We've used UrlRewriteFilter with good success so far:
http://tuckey.org/urlrewrite/

David

Lothar Krenzien wrote:

>Hi there,
>
>I'm using tomcat 5.5 and want to redirect some requests to another URL. For example the URL localhost:80/siteA should be forwarded to localhost:8080/siteB. Of course on Port 8080 listen another web-server. Does anybody know a good explanation how to do that ? I've tried with filters in <catalina_home>/conf/web.xml and put the classes in the <catalina_home>/server/classes and also by defining forwarding-rules in a rules.xml file. But all with no success.
>
>
>Thanks for your answer.
>
>Lothar
>__________________________________________________________________________
>Erweitern Sie FreeMail zu einem noch leistungsst?rkeren E-Mail-Postfach!    
>Mehr Infos unter http://freemail.web.de/home/landingpad/?mc=021131
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@(protected)
>For additional commands, e-mail: users-help@(protected)
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.