https proxy path

Hello,

I am having trouble with enabling https proxy load balancing. See details here:

http://sourceforge.net/mailarchive/forum.php?thread_name=CAPY%3D%3Djm1yc...

I have upgrded to 4.01 and now I get an "Internal Server Error" when trying to redirect using https sites.

Thanks, Dan.

Status: 
Closed (fixed)

Comments

Howdy -- hmm, what error do you see in the Apache logs whenever you receive that Internal Server error?

You can see the Apache logs in $HOME/logs/error_log.

[Wed Aug 07 16:26:36 2013] [error] [client 10.5.0.132] SSL Proxy requested for gvsd.ca:80 but not enabled [Hint: SSLProxyEngine]
[Wed Aug 07 16:26:36 2013] [error] proxy: HTTPS: failed to enable ssl support for 10.5.0.132:443 (filr2.gvsd.ca)
[Wed Aug 07 16:26:43 2013] [error] [client 10.5.0.131] SSL Proxy requested for filr.gvsd.ca:443 but not enabled [Hint: SSLProxyEngine]
[Wed Aug 07 16:26:43 2013] [error] proxy: HTTPS: failed to enable ssl support for 10.5.0.131:443 (filr1.gvsd.ca)
[Wed Aug 07 16:30:31 2013] [error] [client 10.5.0.132] SSL Proxy requested for filr.gvsd.ca:443 but not enabled [Hint: SSLProxyEngine]
[Wed Aug 07 16:30:31 2013] [error] proxy: HTTPS: failed to enable ssl support for 10.5.0.132:443 (filr2.gvsd.ca)
[Wed Aug 07 16:30:47 2013] [error] [client 10.5.0.131] SSL Proxy requested for filr.gvsd.ca:443 but not enabled [Hint: SSLProxyEngine]
[Wed Aug 07 16:30:47 2013] [error] proxy: HTTPS: failed to enable ssl support for 10.5.0.131:443 (filr1.gvsd.ca)
[Wed Aug 07 16:31:43 2013] [error] [client 10.5.0.132] SSL Proxy requested for filr.gvsd.ca:443 but not enabled [Hint: SSLProxyEngine]
[Wed Aug 07 16:31:43 2013] [error] proxy: HTTPS: failed to enable ssl support for 10.5.0.132:443 (filr2.gvsd.ca)
[Wed Aug 07 16:31:45 2013] [error] [client 10.5.0.131] SSL Proxy requested for filr.gvsd.ca:443 but not enabled [Hint: SSLProxyEngine]
[Wed Aug 07 16:31:45 2013] [error] proxy: HTTPS: failed to enable ssl support for 10.5.0.131:443 (filr1.gvsd.ca)
[Wed Aug 07 16:31:45 2013] [error] [client 10.5.0.132] SSL Proxy requested for filr.gvsd.ca:443 but not enabled [Hint: SSLProxyEngine]
[Wed Aug 07 16:31:45 2013] [error] proxy: HTTPS: failed to enable ssl support for 10.5.0.132:443 (filr2.gvsd.ca)
[Wed Aug 07 16:32:14 2013] [error] [client 10.5.0.132] SSL Proxy requested for filr.gvsd.ca:443 but not enabled [Hint: SSLProxyEngine]
[Wed Aug 07 16:32:14 2013] [error] proxy: HTTPS: failed to enable ssl support for 10.5.0.132:8443 (filr2.gvsd.ca)
[Wed Aug 07 16:32:14 2013] [error] [client 10.5.0.131] SSL Proxy requested for filr.gvsd.ca:443 but not enabled [Hint: SSLProxyEngine]
[Wed Aug 07 16:32:14 2013] [error] proxy: HTTPS: failed to enable ssl support for 10.5.0.131:8443 (filr1.gvsd.ca)
[Wed Aug 07 16:32:15 2013] [error] [client 10.5.0.131] SSL Proxy requested for filr.gvsd.ca:443 but not enabled [Hint: SSLProxyEngine]
[Wed Aug 07 16:32:15 2013] [error] proxy: HTTPS: failed to enable ssl support for 10.5.0.131:8443 (filr1.gvsd.ca)
[Wed Aug 07 16:32:16 2013] [error] [client 10.5.0.132] SSL Proxy requested for filr.gvsd.ca:443 but not enabled [Hint: SSLProxyEngine]
[Wed Aug 07 16:32:16 2013] [error] proxy: HTTPS: failed to enable ssl support for 10.5.0.132:8443 (filr2.gvsd.ca)
[Wed Aug 07 16:32:19 2013] [error] [client 10.5.0.131] SSL Proxy requested for gvsd.ca:80 but not enabled [Hint: SSLProxyEngine]
[Wed Aug 07 16:32:19 2013] [error] proxy: HTTPS: failed to enable ssl support for 10.5.0.131:8443 (filr1.gvsd.ca)
[Wed Aug 07 16:32:19 2013] [error] [client 10.5.0.132] SSL Proxy requested for gvsd.ca:80 but not enabled [Hint: SSLProxyEngine]
[Wed Aug 07 16:32:19 2013] [error] proxy: HTTPS: failed to enable ssl support for 10.5.0.132:8443 (filr2.gvsd.ca)
[Wed Aug 07 16:32:22 2013] [error] [client 10.5.0.132] SSL Proxy requested for gvsd.ca:80 but not enabled [Hint: SSLProxyEngine]
[Wed Aug 07 16:32:22 2013] [error] proxy: HTTPS: failed to enable ssl support for 10.5.0.132:8443 (filr2.gvsd.ca)
[Wed Aug 07 16:32:22 2013] [error] [client 10.5.0.131] SSL Proxy requested for gvsd.ca:80 but not enabled [Hint: SSLProxyEngine]
[Wed Aug 07 16:32:22 2013] [error] proxy: HTTPS: failed to enable ssl support for 10.5.0.131:8443 (filr1.gvsd.ca)
[Wed Aug 07 16:35:03 2013] [error] [client 10.5.0.110] SSL Proxy requested for filr.gvsd.ca:443 but not enabled [Hint: SSLProxyEngine]
[Wed Aug 07 16:35:03 2013] [error] proxy: HTTPS: failed to enable ssl support for 10.5.0.110:443 (www.gvsd.ca)
[Wed Aug 07 16:35:03 2013] [error] [client 10.5.0.110] SSL Proxy requested for filr.gvsd.ca:443 but not enabled [Hint: SSLProxyEngine]
[Wed Aug 07 16:35:03 2013] [error] proxy: HTTPS: failed to enable ssl support for 10.5.0.110:443 (www.gvsd.ca)
[Wed Aug 07 16:35:04 2013] [error] [client 10.5.0.110] SSL Proxy requested for filr.gvsd.ca:443 but not enabled [Hint: SSLProxyEngine]
[Wed Aug 07 16:35:04 2013] [error] proxy: HTTPS: failed to enable ssl support for 10.5.0.110:443 (www.gvsd.ca)
[Wed Aug 07 16:35:05 2013] [error] [client 10.5.0.110] SSL Proxy requested for filr.gvsd.ca:443 but not enabled [Hint: SSLProxyEngine]
[Wed Aug 07 16:35:05 2013] [error] proxy: HTTPS: failed to enable ssl support for 10.5.0.110:443 (www.gvsd.ca)
[Wed Aug 07 16:35:07 2013] [error] [client 10.5.0.110] SSL Proxy requested for filr.gvsd.ca:443 but not enabled [Hint: SSLProxyEngine]
[Wed Aug 07 16:35:07 2013] [error] proxy: HTTPS: failed to enable ssl support for 10.5.0.110:443 (www.gvsd.ca)

It looks as if Virtualmin may need to add an additional line to the Apache config in order for that to work properly.

Are you familiar with editing the Apache config?

Jamie should be able to have this resolved in the next Virtualmin version, but you can manually add this parameter to Apache if you're comfortable with that.

What you'd need to do is edit /etc/httpd/conf/httpd.conf, find the VirtualHost entry that's associated with this particular domain name -- and right above where you see the Proxy config lines that have been added, you'd want to add this line:

SSLProxyEngine On

The next Virtualmin release will add that SSLProxyEngine directive for you automatically.

Looks like it's working now.

Thanks,

I found now that it works if you go to https://site.com, but if you go to http://site.com it gives the same internal server error.

I would like all requests be it https or http to get redirected.

Thanks, Dan.

Did you add the SSLProxyEngine on line to the <virtualhost> blocks for both port 80 and 443?

That worked. Thanks again.

Dan.

Automatically closed -- issue fixed for 2 weeks with no activity.