tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@joedog.org>
Subject Re: config 302 redirect ?
Date Thu, 27 Nov 2003 16:53:51 GMT
Tomcat doesn't have an option like that. Which is why we usually recommend 
using apache's ModRewrite, Redirect, ...

You could write a filter which does that.

-Tim

P.van Kemenade wrote:
> Hi
> 
> what is the correct way to redirect users to a completely different
> server when they try to acces some address ? I'm looking for a
> config option (in server.xml or web.xml) that will return a http
> redirect header, like apache's Redirect directive.
> 
> when people ask for
>     http://mydomain.com/gohere/
> or
>     http://mydomain.com/gohere/bla/bla
> 
> I want them to go
>     http://yourdomain.com/gosomewhereelse
> and
>     http://yourdomain.com/gosomewhereelse
> 


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