Displaying 13 results from an estimated 13 matches for "sslrequirement".
Did you mean:
ssl_requirement
2007 Jan 23
2
SslRequirements plugin and mocha
Hi. I''m loving mocha but have ran into a problem with using the mocha
plugin with a project that has the SslRequirement plugin. It seems
there is some conflict between the two? Any ideas?
$ ruby test/functional/calendar_controller_test.rb
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/dependencies.rb:478:in
`const_missing'': uninitialized constant
ApplicationController::SslRequi...
2008 Jun 12
2
SslRequirement Problem
Hello everyone,
I''m pretty new to the RoR''s thing and am having a problem setting up
SslRequirement plugin.
I have installed the SslRequirement plugin and added it to my
application_controller.rb with include SslRequirement
However, when I try and do "ssl_required :process_payment"
I get the following error:
undefined method `ssl_required'' for PaymentController:Class
For s...
2007 Oct 13
3
Endless Redirects with Ssl_Requirement
I''m running an application on mongrel with apache 2.2.3. SSL works
fine when I enter an https manually. But when I use the plugin, I get
an endless redirect.
Got the same error when I tried running the following simplified
version of SslRequirement from within an action:
unless request.ssl?
redirect_to "https://#{request.host}/#{request.uri}"
end
So there must be a problem with the ssl? method.
I''ve googled around, but haven''t found out exactly how to solve the
problem.
Anyone have a solution?
kb
--...
2006 Mar 30
4
SSL Requirement plugin
Is there any way to have the plugin require SSL to be used for all
actions in a controller and just specify the ones you dont want to
require SSL using ssl_allowed?
class ApplicationController < ActiveRecord::Base
include SslRequirement
ssl_required *.*
Many thanks.
Also I could of course combine this with local.request? so that when
developing locally http is allowed, but when in production the
ssl_required kicks in.
--
Posted via http://www.ruby-forum.com/.
2009 Oct 17
1
Routing Error if using ssl_required
Hi everyone,
I am running into a routing error when activating ssl.
Everything works fine, when I put
ssl_required :index
into the controller I get a routing error
Routing Error
No route matches "/meinkwikit" with {:method=>:get}
I installed the ssl plugin and put include SslRequirement into my
application_controller.
Does anybody know what I am doing wrong?
Thanks in advance
Adam
--
Posted via http://www.ruby-forum.com/.
2007 Dec 04
1
ssl_required being ignored?
Hi everyone! I want to require SSL for a single action in one of my
controllers (for logging in, and sending a password).
Working off of the skateboard book, I have added:
include SslRequirement
to my application controller, and then in the login controller, I have
added the line:
ssl_required :login
This does not give me any errors, but it does not redirect me to https
either. It simply acts like it did before I added those two lines.
What have I missed?
I believe ssl is working on my...
2006 Jan 23
1
ssl_requirement plugin: how do I override ssl_required?
The ssl_requirement plugin indicates that I can override the
ssl_required? method. I want to use this facility to ignore the ssl
requirement declarations when RAILS_ENV is anything other than
''production''.
My question is, where do I override this?
The relevant readme is:
http://dev.rubyonrails.org/browser/plugins/ssl_requirement/README
Also, does this plugin work with a
2009 Jan 22
0
script/plugin and polluted(?) sources
...ipt/plugin discover" 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
ver...
2016 Apr 12
1
Slow authentication on C7
On 12 April 2016 at 18:03, Valeri Galtsev <galtsev at kicp.uchicago.edu> wrote:
>
> On Tue, April 12, 2016 11:57 am, m.roth at 5-cent.us wrote:
> > James Hogarth wrote:
> >> On 12 Apr 2016 16:29, "Scott Robbins" <scottro11 at gmail.com> wrote:
> >>> On Tue, Apr 12, 2016 at 09:45:17AM +0200, Marcin Trendota wrote:
> >>> > W dniu
2016 Apr 12
2
Slow authentication on C7
James Hogarth wrote:
> On 12 Apr 2016 16:29, "Scott Robbins" <scottro11 at gmail.com> wrote:
>> On Tue, Apr 12, 2016 at 09:45:17AM +0200, Marcin Trendota wrote:
>> > W dniu 11.04.2016 o 20:07, Scott Robbins pisze:
<SNIP>
> After various testing I ended up going with the Apache LDAP cache module
> and doing the auth at the Apache level, not system.
>
2011 Mar 26
2
Rails 3 + SSL
After reading tons of posts about buying certs, etc, I''m still
confused. Please point me in the right direction. Here''s the
question:
I have a rails3 site (www.mysite.com). I want to have some pages use
ssl, and some not. It appears the require_ssl approach is pre-Rails3
and there are other alternatives. Most of the posts I read talk about
using a diff domain for ssl
2008 Feb 20
4
OpenSSH and X.509 Certificate Support
Hi,
I need to add X.509 Certificate support to OpenSSH.
I came across the following post on the openssh-unix-dev mailing list
that is very useful:
http://marc.info/?l=openssh-unix-dev&m=120298135706959&w=2
<http://marc.info/?l=openssh-unix-dev&m=120298135706959&w=2>
And also, http://marc.info/?l=openssh-unix-dev&m=104395024824680&w=2
2006 Aug 29
15
Setup with Apache 2.2 proxy balancer : timeout during uploads
Hi all,
I encounter timeout errors during file uploads in my Rails application.
I think the problem may be in the Mongrel configuration. Here is my setup:
* Load balancer (Cisco CSM, my provider''s Catalyst 6509)
* Apache 2.2.3 with mod_proxy_balancer
* Mongrel 0.3.13.3
* Rails 1.1.6
* Ruby 1.8.4
* MySQL 5.0.22
* file_column
I host an application in which users may upload medium files