httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: [users@httpd] mod_proxy: 302 redirect makes Apache ignore some headers
Date Fri, 28 Nov 2008 17:14:58 GMT
Martijn Grooten wrote:
> Hello.
> 
> I am running an Apache 2.0.52 web server that forwards most requests
> to a non-Apache back-end server using mod_proxy. This works fine in
> most cases. However, when the back-end server sends a 302 redirect
> response, Apache ignores some headers when forwarding this response to
> the client. In particular, any Set-Cookie: headers are ignored in the
> request, which breaks parts of the web application. I have spent the
> last few hours trying to find a solution, but have failed so far. Any
> help would be greatly appreciated.

Upgrade.  2.0.x mod_proxy is ancient and had lots of bugs.  Correct
handling of response headers was fixed just over a year ago (though
that was principally down to protocol niceties, and I think cookies
in 2.2 may have been fixed much earlier).

-- 
Nick Kew

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message