I want to proxy requests from an SSL site via a non-SSL site. My Apache httpd.conf looks like this:
<VirtualHost 1.2.3.4:80>
ServerName foo.com
ProxyPass / https://bar.com/
</VirtualHost>
So, when I visit http://foo.com, I expect apache to make a request to https://bar.com and send me the the page it fetched.
Instead, I get a 500 error, and in the error log, I see:
[error] proxy: HTTPS: failed to enable ssl support for 4.3.2.1:443 (bar.com)
Presumably I'm missing a directive here. Which might it be?
Never mind the security implications. I fully understand the risks.