https://bz.apache.org/bugzilla/show_bug.cgi?id=56917

--- Comment #14 from Mark Thomas <ma...@apache.org> ---
I can get Tomcat to send a suitable relative redirect for directories but not
context roots. I don't see a way around this. Any relative redirect from from
/foo to /foo/ is going to have to have 'foo/' in it and that won't be caught by
ProxyPassReverse. If the context name has been changed the redirect will break.

At the point where the redirect is generated, we have access to the context so
adding a per context option for this should be fairly simple. I don't like
adding configuration options unless we have to but the case for doing so here
is strong, even if it does depend on a configuration (changing context paths in
the proxy) that we know is generally problematic.

I should be able to get this option added shortly.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

Reply via email to