DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=42975>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42975 Summary: ProxyPassReverse not handling relative redirects properly Product: Apache httpd-2 Version: 2.2.4 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: mod_proxy AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] The ProxyPassReverse is not rewriting relative redirects properly. The mod_proxy configuration on the frontend server is as follows: ## ## frontend.mydomain.com ProxyPass /brown/ http://backend.mydomain.com/ <Location /brown/> ProxyPassReverse http://backend.mydomain.com/ </Location> ## A request is made to http://frontend.mydomain.com/brown/test.pl The server "frontend" requests http://backend.mydomain.com/test.pl which responds with this redirect header: Location: /test/test.txt But now, for some reason, the frontend server does not interpret this as http://frontend.mydomain.com/brown/test/text.txt, but rather as http://frontend.mydomain.com/test/text.txt yielding a not-surprising 404 error. If I change test.pl on the back end server to issue the redirect header: Location: http://backend.mydomain.com/test/test.txt the frontend _does_ interpret this correctly as http://frontend.mydomain.com/brown/test/text.txt Unfortunately, since I do not have any control over the backend server, I cannot get it to issue absolute redirects. Thus, I need the frontend Apache proxy to handle relative redirects properly. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
