httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45843] New: mod_proxy_ajp and proxypassreverse directive
Date Fri, 19 Sep 2008 11:36:19 GMT
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: bugs@httpd.apache.org
        ReportedBy: andre.steingress@gmail.com


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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message