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 2002/09/24 04:50:07 UTC

DO NOT REPLY [Bug 12941] New: - wrong HTTP header using mod_proxy

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12941>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12941

wrong HTTP header using mod_proxy

           Summary: wrong HTTP header using mod_proxy
           Product: Apache httpd-2.0
           Version: 2.0.40
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: mod_proxy
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: kikuchi@kousuke.jp


Apache 2.0.40 is running on inserver and localhost.
Apache of localhost use mod_proxy to forward to inserver .
This is localhost mod_proxy setting
ProxyRequests On
ProxyPass /h http://inserver:8100/h


[root@localhost /]# telnet inserver 8100
Trying inserver...
Connected to inserver.
Escape character is '^]'.
GET /h/t.i?uid=5 HTTP/1.0
user-agent: DoCoMo

HTTP/1.1 200
Date: Tue, 24 Sep 2002 20:15:43 GMT
Server: Apache/2.0.40 (Unix) mod_jk2/2.0.0
Content-Type: text/html
Content-Length: 149
Connection: close

<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=SHIFT_JIS">
<title>test</title>
</head>
<body>
test
</body>
</html>
Connection closed by foreign host.

[root@localhost /]# telnet localhost 80
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET /h/t.i?uid=5 HTTP/1.0
user-agent: DoCoMo

HTTP/1.1 200
                                               <------ wrong
Date: Tue, 24 Sep 2002 19:26:10 GMT
Server: Apache/2.0.40 (Unix) mod_jk2/2.0.0
Content-Type: text/html
Content-Length: 149
Connection: close

<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=SHIFT_JIS">
<title>test</title>
</head>
<body>
test
</body>
</html>
Connection closed by foreign host.
[root@localhost /]# uname -a
Linux localhost 2.4.7-10 #1 Thu Sep 6 17:27:27 EDT 2001 i686 unknown


Same result returned by mod_proxy of Apache 1.3.26.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org