Re: Force https?

2010-09-14 Thread Klaas
Phil writes: > > Does anyone know how I can force all connections to myapp.heroku.com > to run over https instead of http? I think there are ways to > configure this manually, but I'm wondering if it's possible with > Heroku. I have the ssl connection enabled for my app, but I want to > make s

Re: Force https?

2010-08-03 Thread Josh Coffman
I did the same thing, except I hacked ssl_requirement a little to make it behave the way I wanted. On Tue, Aug 3, 2010 at 7:59 AM, Jesse wrote: > I guess you would say this is the 'manual' way to do it :) > > I use ssl_requirement gem > > .gems file specifies ssl_requirement > > in app/controll

Re: Force https?

2010-08-03 Thread Jesse
I guess you would say this is the 'manual' way to do it :) I use ssl_requirement gem .gems file specifies ssl_requirement in app/controllers/application.rb (still on rails 2.2.2) ... require 'ssl_requirement' class ApplicationController < ActionController::Base helper :all # include all help

Re: Force https?

2010-08-02 Thread Kelly Heikkila
I ran across rack-secureonly lately but haven't tried it: http://coderack.org/users/spllr/middlewares/108-rack-secureonly Kelly Heikkila On Jul 30, 2010, at 3:52 PM, Phil wrote: Does anyone know how I can force all connections to myapp.heroku.com to run over https instead of http? I think t

Force https?

2010-08-02 Thread Phil
Does anyone know how I can force all connections to myapp.heroku.com to run over https instead of http? I think there are ways to configure this manually, but I'm wondering if it's possible with Heroku. I have the ssl connection enabled for my app, but I want to make sure people typing in http://