httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 47379] New: Reverse proxy configuration does handle HTTP CONNECT requests correctly
Date Wed, 17 Jun 2009 10:04:59 GMT

           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

Setting up a reverse proxy with:

LoadModule proxy_module modules/
LoadModule proxy_http_module modules/
LoadModule proxy_connect_module modules/

Listen 9006
NameVirtualHost *:9006
<VirtualHost *:9006>
 AllowCONNECT 3030
 ProxyPass /
 ProxyPassReverse /

does not work, since the ProxyPass directive throws the error: "ProxyPass URL
must be absolute!"

Changing the URL to 

 ProxyPass /

makes Apache start, but HTTP CONNECT requests are forwarded to the next

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:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message