Re: request.ssl? not working

Ben Johnson
Sun, 02 Sep 2007 20:16:56 -0000

Scott A s wrote:
> You need to check that your webserver is making use of a specific
> environment variable that the request.ssl? makes use of
>
>
> Ben Johnson wrote:
>> My rails app can not tell if it is on an SSL connection or not. I am
>> using https:// as my protocol and then we I inspect request.ssl? it
>> returns false. Any ideas why it would be doing this?

I''m u sing the latest apache with the mod_proxy_balancer and then
mongrel. So nothing out of the ordinary. Do I need to turn on some
options or something?