On Sun, May 10, 2009 at 7:31 AM, Jeroen Kransen <jer...@kransen.nl> wrote:
> Hello, is there a webapp that will redirect all incoming requests to
> another host/path? I have a Lenya instance running on one virtual
> host, and want another virtual host point to its live publication like
> this:
>
> jeroen.example.com/* ----> cms.example.com/jeroen/live/*
>
> Both virtual hosts run on the same Tomcat instance, so if there's a
> way to use some Tomcat internal mechanism to do the forwarding, that
> might give a performance benefit. Otherwise, a more generic
> redirecting webapp would be great.

1) why not just write your links to point where you want?

2) you can forward across webapps within a Host by setting the
    crossContext attribute true, but not across Hosts

    http://tomcat.apache.org/tomcat-6.0-doc/config/context.html

3) if you *really* want to redirect: <http://tuckey.org/urlrewrite/>

HTH,
-- 
Hassan Schroeder ------------------------ hassan.schroe...@gmail.com

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

Reply via email to