# Ssl\_requirement problems - https --\> http

**URL:** <https://www.ruby-forum.com/t/ssl-requirement-problems-https-http/132157>\
**Category:** Rails\
**Created:** [March 17, 2008, 2:01pm UTC](https://www.ruby-forum.com/t/ssl-requirement-problems-https-http/132157 "2008-03-17T14:01:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![adam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/4af34b/32.png) [@adam](https://www.ruby-forum.com/u/adam)\
**Post date:** [March 17, 2008, 2:01pm UTC](https://www.ruby-forum.com/t/ssl-requirement-problems-https-http/132157/1 "2008-03-17T14:01:03Z")

</div>

I am having problems with the SSL Requirement plugin.  
It redirects to HTTPS no problem.

Problem is when I want it to leave HTTPS it stays!  
Have put the following in apache ssl config:

\<VirtualHost \*:443\>  
ServerName [codegarden.co.uk:443](http://codegarden.co.uk:443)  
ProxyPass / [http://localhost:4003/](http://localhost:4003/)  
ProxyPassReverse / [http://localhost:4003/](http://localhost:4003/)  
ProxyPreserveHost On  
RequestHeader set X\_FORWARDED\_PROTO ‘https’

SSLEngine on  
SSLProxyEngine On  
SSLCertificateFile /var/ssl/public\_ssl.cert  
SSLCertificateKeyFile /var/ssl/private\_ssl.key

where codegarden is my domain name.

I have searched and searched, found some similar problems but no  
solution so far!

any help much appreciated.

many thanks  
adam
