similar to: how to configure rails app on non default port 443

Displaying 20 results from an estimated 60000 matches similar to: "how to configure rails app on non default port 443"

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
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
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
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
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
2004 Aug 13
2
heavy load on port 443
Hi, While I was working, the follwing message flud the screen. Aug 13 23:32:28 www /kernel: Limiting closed port RST response from 213 to 200 packets per second The /var/log/apache_ssl_engine.log started to grow with similar messages: [13/Aug/2004 23:43:49 66440] [error] SSL handshake failed (server www.beco.hu:443, client 217.102.90.240) (OpenSSL library error follows) [13/Aug/2004 23:43:49
2007 May 11
1
SCP two remote hosts with non-default ports
Hi, I'm having trouble finding the correct syntax to scp between two remote hosts with non-defaults ports. <scp -P 1234 user at remotehost:/sourcefile -P 4321 user at remotehost:/destfile> No matter what i've tried i cant get scp to connect both servers with different ports. Is this even possible? The workaround i've found is to use <ssh... "scp..."> Thanks,
2006 Mar 13
1
How to run rails app exe on port other than 3000?
We have managed to package our rails application into an exe using the steps given at: http://www.erikveen.dds.nl/distributingrubyapplications/rails.html When we start the exe, it starts on port 3000. But when we will be installing it at the clients'' site, this may not work as some other rails application may be running on that port. What can we do to configure the port on which the
2012 Feb 08
2
Running Puppet(Master) on port 443
On Feb 1, 2012, at 8:06 PM, Nan Liu wrote: > Puppet uses REST, so you can run puppet master on 443 to work around firewalls. I would like to get a bit more information on this. Is it as simple as setting all the ports in puppet.conf to 443 on master and agent ? “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact
2010 Nov 07
0
Create default database/table on Rails 3 app
Hi! I''m creating an app where I need to compare the user input with a default database and give the corresponding value (something like what the Lookup function does in spreadsheets). For that I need to things that I don''t understand... 1.- How can I create a default database (or table) for production? Should I use fixtures for that? 2.- How can I compare two values from the
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"
2007 Jan 18
1
Updating index when non-rails app creates entries?
I have a database shared between a Rails app (gui) and a Java app (daemon). When the java app periodically updates the database, this isn''t reflected in Ferret indexes visible via acts_as_ferret in Rails. How do I trigger re-indexing? Do I just make my Java daemon delete the index files, or is there something cleverer than that..? Thanks! -- Posted via http://www.ruby-forum.com/.
2007 Oct 24
0
RSpec''d plugin in a non-RSpec rails app?
I have a plugin that uses RSpec, and it''s being used by a Rails app that does not otherwise use RSpec (and does not want to). I can install the RSpec gem, but of course there is no RSpec-on-Rails gem. And I wouldn''t really want to include the whole rspec-on-rails plugin inside my plugin, even if such a thing would work. Yet it would be nice if the app''s continuous
2006 Aug 31
1
How with selinux postgresql run at non default port
Hello, how to run postgresql at different port with selinux enabled ? thanks for any help -- regards, Eddy Setyawan http://eddysetyawan.web.id YIM: eddy.setyawan
2006 Jun 27
2
non-traditional rails app
I''d like to convert some simple, general ruby scripts I have into rails apps just for testing purposes. Many of these apps are not DB driven, so the whole CRUD concept does not apply to them... here''s a sample: require ''socket'' server = TCPServer.new(''12345'') while (session = server.accept) Thread.new(session) do |this_session|
2008 Feb 24
3
params checking in controller before real action
I want to perform certain action in controller based on request parameters. Is there some way to access params in controller before a real action? Like in following code: class UsersController < ApplicationController # params[:type] in here does not work ssl_required :create if params[:type]=="something" def create # params[:type] works in here. end end If not,
2007 Nov 30
4
Autotest''ing specs on non-rails app
I''m having trouble using autotest with rspec on a non-rails project. my Rspec gem is version 1.0.8, ZenTest is 3.6.2 project structure $ ls * lib: parser.rb spec: parser_spec.rb autotest finds and runs the spec, but it won''t detect changes to lib/parser.rb I know it''s something stupid, but... help? -- Rick DeNatale My blog on Ruby
2007 May 17
2
Running SSL Rails app on apache server already in use
SSL and Rails is proving to be somewhat confusing and difficult to get going for me. I already have an HTTPS apache instance running off my domain -- legacy secure web app. (lives at https://www.mydomain.com say) Now I want to develop a new app on the same secured domain with rails (out of a subdir, symlinked or something at https://www.mydomain.com/railsapp ) But how can this work? To get that
2012 Dec 05
3
Fwd: Issue starting unicorn with non-ActiveRecord Rails app
Hi, I''m trying to use unicorn in a test deployment of a Rails app that uses Mongoid, so Activerecord isn''t included in the app. When I start unicorn through Capistrano though, the stderr log fills up endlessly with identical ActiveRecord-related errors: I, [2012-12-05T04:19:25.375952 #5096] INFO -- : Refreshing Gem list I, [2012-12-05T04:19:32.941249 #5096] INFO -- :
2006 Aug 13
0
ssl breaks rails app
I''m a newbie both with rails and configuring a server so I appreciate any help available. I developed my rails app and deployed it successfully on apache using cgi. Next I successfully configured mod_ssl for apache. I point my browser to https://myserver and VIOLA , I see the index page in ../myapp/public/index.html . But when I try to get to one of the controllers, the routing seems