I haven't tried this, but seems good http://www.simonecarletti.com/blog/2011/05/configuring-rails-3-https-ssl/ http://collectiveidea.com/blog/archives/2010/11/29/ssl-with-rails/
On Wed, Apr 17, 2013 at 8:59 PM, Gianpiero Venditti < [email protected]> wrote: > Hello everybody, i'm using ruby 1.8.6 and rails 1.1.6 for my web app. > > My app is accessible both in http and https but i would like to enforce > https only even when the user try to access using http only. > > I tried a lot of solutions posted over the web but none worked for my > rails version (which is very old, I know) > > What could I do in order to achieve it? Is there any effective solution > that can be used with my rails version? > > > Thanks in advance for the help. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msg/rubyonrails-talk/-/gIjlx6E8d3wJ. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Thanks & Regards, Nilesh B. Panchal Mobile No. : +91-9664212069 E-mail : [email protected] -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

