On Nov 28, 2006, at 06:38 , Chad wrote:
> Is there ANY way to determine if a user is in SSL other than to check
> the request headers? My host is currently using Apache 1.x to proxy
> requests to Pound/Mongrel, but can''t pass the X header all the way
> so I
> can''t use the typical @request.env["HTTPS"]
request.ssl?
Which effectively checks the HTTPS and HTTP_X_FORWARDED_PROTO headers.
--
Jakob Skjerning - http://mentalized.net
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---