Hi,
Have you tried this? http://github.com/bcurren/ssl_requirement/tree/master
On 25 jun, 11:33, Brian Penrose
<rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:> We are runnning Rails 2.1/Mongrel/Apache setup and I''m attempting
to
> configure Rails/Apache to force ssl. I''ve added the following
line in
> my httpd-ssl.conf file, under the VirtualHost:
>
> RequestHeader set X_FORWARDED_PROTO ''https''
>
> The redirect does not take place and instead we are seeing the entire
> contents of the public directory in the web browser. When going to
> https://, everything works great...just can''t get the redirect to
work.
> Any suggestions?
> --
> Posted viahttp://www.ruby-forum.com/.