Supid,

I have the same behavior, it's a bug well documented at [1].

If you know the redirection, you can do it in the front-end.
In my particular case, i fixed it with mod_security. I have wrote a
little in my blog [0] (in spanish) about this.


[0] http://blog.makam.org/2012/09/01/bug-en-mod_proxy/
[1] https://issues.apache.org/bugzilla/show_bug.cgi?id=51489


El 18/09/12 08:53, Bhattacharya, Sudip escribió:
> Hi,
> 
> I am using an apache setup as a reverse proxy to a backend server.
> ...
> <VirtualHost *>
>     ServerName foolocal.com
> 
> ProxyPass / http://fooremote.com/
> ProxyPassReverse / http://fooremote.com/ 
> ...
> 
> The above setup is working fine for most pages, except a few servlets which 
> are using 302 Redirects.
> 
> There is a servlet in the backend system, which is setting a redirect header 
> like below:
> HTTP/1.1 302 Moved Temporarily
> Location: http://fooremote.com:80/abc.jsp
> 
> The ReverseProxy is not able to reset the value of the Location header in 
> this case.
> 
> I tried the below option but it did not work. The original header is not 
> modified by the below line.
> Header always edit Location ^http://fooremote.com:80 http://foolocal.com
> 
> I am not sure whether the issue is with the Location header overwriting, or 
> whether it is because of the :80 being appended in the URL in the redirection 
> header.
> 
> Need your help in solving this.


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

Reply via email to