similar to: ssl_requirement, https, webrick and ruby

Displaying 20 results from an estimated 11000 matches similar to: "ssl_requirement, https, webrick and ruby"

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
2011 Mar 11
2
ssl_requirement plugin still maintained?
I was looking at the "official repository" for ssl_requirement at https://github.com/retr0h/ssl_requirement, and the last commit was in 2008. Is this plugin still maintained? If not, what''s the current equivalent for Rails 3? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2007 Jun 16
2
Specs don''t find modules when using the secure_actions or ssl_requirement plugin
Hello, I''m trying the secure_actions plugin (or ssl_requirements) I''m installed the plugin, and added the include in application controller: class ApplicationController < ActionController::Base include ExceptionNotifiable include AuthenticatedSystem include SecureActions ... but when I try to run the specs I got this error:
2007 Jun 26
4
Fake SSL in specs when using ssl_requirement plug-in
Hi I''ve used the ssl_required line from the ssl_requirement plug-in at the start of a controller for SSL. Its implemented as redirects so I can spec this... describe "GET /gap/get_qote" do controller_name :gap it "should redirect to the HTTPS version of the action" do get ''get_quote'', :id => "finance"
2008 Mar 17
0
ssl_requirement problems - https --> http
I am having problems with the SSL Requirement plugin. It redirects to HTTPS no problem. Problem is when I want it to leave HTTPS it stays! Have put the following in apache ssl config: <VirtualHost *:443> ServerName codegarden.co.uk:443 ProxyPass / http://localhost:4003/ ProxyPassReverse / http://localhost:4003/ ProxyPreserveHost On RequestHeader set X_FORWARDED_PROTO
2006 Nov 20
4
ssl_requirement not working
Forgive me if this isn''t 100% rails, but I''m trying to get ssl_requirement to work and it sends my app into an infinite loop because @request.ssl? is always returning false, even if I''m using https:// For some reason, my @request isn''t getting any SSL info: neither @request.ssl? nor @request.env["HTTPS"] return true. I''m using pound/mongrel
2006 Jul 01
5
how can i set the default protocol of WEBrick to https?
On my server, stunnel is running to accept HTTPS (port 443) connection from clients and redirect them to localhost:80. And on port 80 of my server, WEBrick is running to accept HTTP connection. In such situation, WEBrick generates URLs beginning with ''http://'', not with ''https://''. So one can access to ''https://myserver/'', but when he click on
2010 Mar 05
1
WEBrick 500 error only with https
I have an application i''m installing on my application server. I''ve been using WEBrick and for now i''d like to just keep using it working in prototype development mode. This works fine on my development machine using both http and https, where the host is ''localhost'' (ports 3000,3001). It also works fine on the application server http port 3000. The
2006 Feb 23
5
Q: Where to put a periodic updater?
Hello, I need to put a script in place for updating a local database with a remote resource periodically. It should be started alongside the server (or inside it, whatever) and be run as long as the server running my rails app is up an running. Any thoughts on how to accomplish this? I have thought of editing the environment.rb file and placing the call to the script trigger there, but I wonder
2006 May 30
5
Implementing HTTPS with WEBrick?
All, I would like to test some secure pages that I''m developing in my WEBrick-based development environment. I''ve done some research and it appears that I need to create a new command that will start a HTTPS based WEBrick server. Is this correct? Also, it appears that the https.rb module is not included with the WEBrick bundled in Rails. So, I will need to go get that
2007 Dec 06
0
Rails Newbie--where do I configure webrick to start using ssl certs/https?
Hello all- Though I''ve got eons of java dev experience, I''m a fresh RoR noob with a server configuration question. Because it has to be tied into a single sign on solution(that uses secure cookies), an application that I''ve inherited absolutely requires that all requests go over secure http. I''ve seen this:
2006 Mar 10
0
Need an opinion on ActiveRecord vs.(?) duck typing
Rubysts, First of all, I am pretty new to Ruby, Rails and even dynamic languages in general. So please be patient with me. :-) Disclaimer given, let''s get to the guts. I am trying to save a date/timestamp to my DB and comparing it with one created outside of DB/ActiveRecord afterwards. The date is burried inside an ActiveRecord object of mine and gets recorded together with everything
2006 Mar 23
7
Fixtures just Do Not Work for Me
Hello, I have been struggling to get fixtures to work here with no success. They just Do Not Work For Me (tm). I have created a model named Headline with the `generate'' script and modified the test/fixtumes/headlines.yml as follows ---------- gita: id: 1 author: raulseixas title: gita happened_at: 2005-01-01 00:00:00 description: gita This is the CD reissue of
2009 Jan 22
0
script/plugin and polluted(?) sources
I recently had trouble installing the ssl_requirement plugin. script/plugin said it couldn''t find ssl_requirement. I "solved" this by running "script/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
2006 Jan 06
1
DHTML on WEBrick
I have some simple dhtml code in my rails app that hides fields I do not need displayed. This worked great as soon as I click on the item that initiates the hide, but within one second it pops back up. My assumption is WEBrick is refreshing to a previous state and I wondered what y''all thought was the appropriate way to handle. I thought maybe the default environment in production would
2005 Aug 25
0
multiple refreshs clicks cause errors in WEBrick
Hi all I am new to rails, so I hope it is not a trivial question... I am using rails with webrick and MySql4.1 on win XP. I enter a simple action (with a post method) which fetches some data from a ''users'' table and present it in a rhtml view. Now when I press the refresh button quickly a few times I get in the command line window errors such as this: [2005-08-25 17:08:55]
2006 Apr 07
0
webrick, cross-thread violation on rb_thread_schedule()
Hi all, Anyone else seen this? Although it happened while serving Rails, I figured a core dump caused by webrick should be posted to ruby-talk as well. It happened after I hit Ctrl-C to kill the webrick server, after a failed attempt to invoke a web service through a web page. Below are the last two log entries from the development.log file. Any ideas? Dan >/opt/bin/ruby
2006 Aug 04
1
Motiro 0.4.2 released
Motiro is a tool for tracking software projects. It has borrowed its name from an ancient tupy word meaning a work gathering. Motiro is a time when people get together to collaborate on a common goal such as harvesting food or building houses. I have been working on this little thing for some time now on my spare time. Version 0.4.2 is the seventh release, it features a Subversion front end, an
2006 Mar 07
2
webrick RoutingError
problem: webrick will start a rails server, but I cannot access my application. I get the error: Processing Base#index (for 127.0.0.1 at Tue Mar 07 19:16:58 CET 2006) Parameters: {} ActionController::RoutingError (Recognition failed for "/keywordeditor"): my application is called keywordeditor. I am starting the server from the correct place with the correct command (I already
2006 Jul 25
0
Errors logged but not returned to browser, WEBrick hangs
An app I''ve been developing has been chugging along nicely, but around the time I added a new join model a couple of commits ago, my development environment has been acting screwy. 1. When there''s an error, the error messages and tracebacks are not being returned to the browser. The browser keeps the connection alive indefinitely. 2. Stopping the request from the browser