[Modules] Problems with mod_proxy
llucarella at integratech.com.ar
Fri Oct 31 15:02:54 EDT 2008
I'm having problems using mod_gnutls + mod_proxy. I've seen a thread and
a bug report about it, but with no resolution.
I think I know what the problem is: the proxied server is receiving the
encrypted data instead of the decrypted HTTP request.
Let's say we have:
A B C
HTTPS client ------ HTTPS server ------- HTTP server
A makes a request to B, B forwards it to C but using SSL, so B expects
that C sends the SSL client hello handshake. But C is HTTP (without S), so
he hangs wainting for B to send him the request.
So everybody waits until the famous timeout expires.
I did a simple example that seems to confirm that:
AuthName "Terminal Web"
Allow from all
ProxyPass / http://localhost:8022/
ProxyPassReverse / http://localhost:8022/
Then I run this python script:
s = socket.socket()
(sc, addr) = ss.accept()
sslsc = socket.ssl(sc)
And this is printed:
GET / HTTP/1.1\r\n
Any information/help/fixes would be appreciated.
More information about the Modules