https://issues.apache.org/bugzilla/show_bug.cgi?id=45843
Summary: mod_proxy_ajp and proxypassreverse directive
Product: Apache httpd-2
Version: 2.2.9
Platform: PC
OS/Version: Windows Server 2003
Status: NEW
Severity: normal
Priority: P2
Component: mod_proxy
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
tomcat version: 5.5.25 (jdk 1.6_07)
we have the following two lines in our virtual host config:
ProxyPass /xxx/ ajp://tomcat:8009/
ProxyPassReverse /xxx/ ajp://tomcat:8009/
After every succesful user-login a 302 redirect is sent by the j2ee application
that redirects to "/views/mainview.do". The problem is, that the
ProxyPassReverse directive does not seem to work correctly in this case, e.g.:
The original location attribute of the 302 HTTP response
Location: http://somehost/views/mainview.do
should be replaced by
Location: http://somehost/xxx/views/mainview.do
but actually is
Location: http://somehost/views/mainview.do
Whenever using mod_proxy with HTTP instead of AJP the URI prefix "xxx" is
inserted correctly, so we assume there could be a problem in mod_proxy_ajp.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]