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 2009/06/17 12:04:59 UTC
DO NOT REPLY [Bug 47379] New: Reverse proxy configuration does
handle HTTP CONNECT requests correctly
https://issues.apache.org/bugzilla/show_bug.cgi?id=47379
Summary: Reverse proxy configuration does handle HTTP CONNECT
requests correctly
Product: Apache httpd-2
Version: 2.2.9
Platform: PC
OS/Version: All
Status: NEW
Keywords: RFC
Severity: normal
Priority: P2
Component: mod_proxy
AssignedTo: bugs@httpd.apache.org
ReportedBy: holger.weissboeck@gmail.com
Setting up a reverse proxy with:
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
Listen 9006
NameVirtualHost *:9006
<VirtualHost *:9006>
AllowCONNECT 3030
ProxyPass / xxx.xxx.xxx.xxx:3030
ProxyPassReverse / xxx.xxx.xxx.xxx:3030
</VirtualHost>
does not work, since the ProxyPass directive throws the error: "ProxyPass URL
must be absolute!"
Changing the URL to
ProxyPass / http://xxx.xxx.xxx.xxx:3030
makes Apache start, but HTTP CONNECT requests are forwarded to the next
endpoint.
Unless i have not misinterpreted the HTTP 1.1 spec, it should not forward a
HTTP request to the endpoint when a CONNECT request was received. It should
rather create a tunnel and return CONNECTION ESTABLISHED to the initial caller
so that the caller and the endpoint can talk a custom protocol tunneled through
the reverse proxy.
This worked fine with Apache 2.0.x and works fine with a simple forward proxy.
Unfortunately it is broken for reverse proxies.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 47379] Reverse proxy configuration does handle
HTTP CONNECT requests correctly
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47379
Ruediger Pluem <rp...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Ruediger Pluem <rp...@apache.org> 2009-06-17 06:10:14 PST ---
In fact CONNECT is only for forward proxyies. If it worked in 2.0.x this was
unintended and in fact a bug.
But to be honest I don't understand your problem: The CONNECT method requires
to specify a target IP and port. So you could just use this.
Anyway Bugzilla is for reporting bugs and no user support forum. So please post
your question on the users mailing list.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org