httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 45843] New: mod_proxy_ajp and proxypassreverse directive
Date Fri, 19 Sep 2008 11:36:19 GMT

           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

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/". 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/

should be replaced by

Location: http://somehost/xxx/views/

but actually is 

Location: http://somehost/views/

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:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message