Displaying 3 results from an estimated 3 matches for "ensure_proper_protocol".
2009 Jan 22
0
script/plugin and polluted(?) sources
...ver" and accepting the
addition of a bunch of other repositories. The script could then
discover and install ssl_requirement.
BUT: It wasn''t the same version of ssl_requirement that I''d installed
(and worked well with) on other projects. The version I got, in
SslRequirement::ensure_proper_protocol, made use of a module called
UserSystem, which I didn''t have installed.
My guess (am I right?) is that someone modified the plugin for his own
use and then put it into a public repository.
How can I set script/plugin so that it pulls in only generally-released
versions of the plugins?...
2008 Oct 07
6
https problems
I''m having a problem but don''t know what is causing it so I don''t know
exactly where to post, please bear with me.
I''m trying to set up https access however whenever I go to https://url_for_site
the root route renders but the url is rewritten to http://url_for_site.
The ssl request shows in the apache logs but obviously no further ssl
requests show up.
2010 Dec 01
10
How to Redirect from http://mysite.com to https://www.mysite.com on Herok
Hello I''m looking to learn how to redirect all non-www (mysite.com) to
https://www.mysite.com
I tried the following:
class ApplicationController < ActionController::Base
before_filter :check_uri
def check_uri
redirect_to request.protocol + "www." + request.host_with_port +
request.request_uri if !/^www/.match(request.host) if Rails.env ==