You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2006/12/29 19:28:33 UTC

DO NOT REPLY [Bug 39245] - Mod_proxy_http ProxyErrorOverride eating cookies

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=39245>.
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=39245


jonah@jonah.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW




------- Additional Comments From jonah@jonah.com  2006-12-29 10:28 -------
NOT FIXED in vanilla 2.2.3. 

I'm using mod_proxy_http to reverse proxy a resin application server. Cookies
and most headers set by resin in a 302 response are dropped by 2.2.3 when
proxyerroroverride is on. 

What follows are transcripts with our internal 2.2.3 server; the first
transcript is with proxyerroroverride on in the specified virtual host config;
the second with proxyerroroverride off. 

Transcript #1, proxyerroroverride on

[user@HOST ~]$ telnet HOST 80
Trying 172.20.17.48...
Connected to HOST (172.20.17.48).
Escape character is '^]'.
POST /ec/login.htm HTTP/1.1
Host: HOST
Cookie: JSESSIONID=A6534nqtHTaUTMwp-q
Content-Type: application/x-www-form-urlencoded
Content-Length: 33

userName=z10000&password=password
HTTP/1.1 302 Found
Date: Fri, 29 Dec 2006 17:56:23 GMT
Location: http://HOST/ec/postLogin.htm
Content-Length: 234
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="http://HOST/ec/postLogin.htm">here</a>.</p>
</body></html>
Connection closed by foreign host.



Transcript #2, proxyerroroverride off

[user@HOST ~]$ telnet HOST 80
Trying 172.20.17.48...
Connected to HOST (172.20.17.48).
Escape character is '^]'.
POST /ec/login.htm HTTP/1.1
Host: HOST
Cookie: JSESSIONID=A6534nqtHTaUTMwp-q
Content-Type: application/x-www-form-urlencoded
Content-Length: 33

userName=z10000&password=password
HTTP/1.1 302 Found
Date: Fri, 29 Dec 2006 17:57:44 GMT
Server: Resin/3.0.14
Pragma: No-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-cache
Cache-Control: no-store
Content-Language: en-US
Location: http://HOST/ec/postLogin.htm
Content-Length: 88
Set-Cookie: userInfo=VARIOUSSTUFF; domain=HOST; path=/
Set-Cookie: XXXX=w0NIFrSTDuo250TP4oXq13pk9C1Rlt9Q; domain=HOST; path=/
Content-Type: text/html; charset=UTF-8

The URL has moved <a href="http://HOST/ec/postLogin.htm">here</a>

Connection closed by foreign host.



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