I’m having difficulty setting up my site so that only the login page
uses SSL. I’m confused by the config. Can some please explain?
I’m setting up my environment using WEBrick. I got WEBrick running with
ssl on port 3001 thanks to this script: http://pastie.caboo.se/25896
My understanding is that the ssl config is done in the server config
script, not in my rails app code. Correct me if I’m wrong.
Now that I have the site running, a user can connect to
https//localhost/account/login but he can’t go to any other pages with
the normal non-SSL HTTP. Am I supposed to also have a non-SSL WEBrick
running at the same time? If so, these 2 webricks would be listening on
2 different ports(3000 and 3001). What I want to do eventually in
production is to make the following links work:
Thanks for your help.