Combining Reverse Proxy with a Forwarding Proxy and SSL
am 16.12.2004 09:10:11 von Fitzner DanielHello guys,
I have a problem with a special environment:
Client ---http----> Apache Reverse Proxy (1.1.1.1) -----https-----> Squid Forwarding/Chaching Proxy (1.1.1.2) ----https-----> Webserver (1.1.1.3)
The client makes http-request to my apache reverse proxy. This reverse proxy should forward this request via https to the real webserver. But this request should go trough a forwarding/caching proxy (squid).
If I setup this environment with apache 2.0.51 and this config:
ServerName XXXXXX
ServerAdmin mailadmin@example.com
ProxyRequests Off
ProxyRemote * http://1.1.1.2:3128
SSLProxyEngine on
ProxyPass / https://1.1.1.3/
ProxyPassReverse / https://1.1.1.3/
I got following error message:
[error] (20014)Error string not specified yet: proxy: request failed to 1.1.1.2:3128
If I use http between reverse proxy and the webserver it works with the forwarding proxy:
Client ---http----> Apache Reverse Proxy (1.1.1.1) -----http-----> Squid Forwarding/Chaching Proxy (1.1.1.2) ----http-----> Webserver (1.1.1.3)
It also works with https, if I don't use the proxy:
Client ---http----> Apache Reverse Proxy (1.1.1.1) -----https-----> Webserver (1.1.1.3)
Is my environment supported by apache with modssl??? If yes, how I have to configure the apache??
Thanks and best regards daniel
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org