Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fixed links

  • Loading branch information...
commit 620c77a4ce4ef7029722c7fba3e9865bfa8ccca5 1 parent af007be
Christian Meier authored October 29, 2010
8  README.textile
Source Rendered
... ...
@@ -1,12 +1,14 @@
1 1
 h1. Enforce SSL for you controllers
2 2
 
3  
-p. this is derived from the http://github.org/rails/ssl_requirement:rails/ssl_requirement and adopted a more strict approach: security everything and open where needed.
  3
+p. with the advent of hijacking tools for dummies "firesheep":http://codebutler.github.com/firesheep/ the need for securing your sessions with ssl is there.
4 4
 
5  
-p. info about the actual gem please look into the directory http://github.org/mkristian/ixtlan-guard/gem:enforce-ssl-gem
  5
+p. this is derived from the "rails/ssl_requirement":http://github.org/rails/ssl_requirement and adopted a more strict approach: *secure everything and open it where needed*.
  6
+
  7
+p. info about the actual gem please look into the directory "enforce-ssl-gem":http://github.org/mkristian/ixtlan-guard/gem
6 8
 
7 9
 h2. demo rails application
8 10
 
9  
-p. the http://github.org/mkristian/ixtlan-guard/gem:demo is a sample rails3 application with integration tests. see readme how to start the application and what limitations apply.
  11
+p. the "demo":http://github.org/mkristian/ixtlan-guard/gem is a sample rails3 application with integration tests. see readme how to start the application and what limitations apply.
10 12
 
11 13
 h2. run all the tests + integrations-tests in one go
12 14
 
8  enforce-ssl-gem/README.textile
Source Rendered
... ...
@@ -1,8 +1,8 @@
1 1
 h1. Enforce SSL for you controllers
2 2
 
3  
-p. this is derived from the http://github.org/rails/ssl_requirement:rails/ssl_requirement and adopted a more strict approach: security everything and open where needed.
  3
+p. this is derived from the "rails/ssl_requirement":http://github.org/rails/ssl_requirement and adopted a more strict approach: *secure everything and open it where needed*.
4 4
 
5  
-p. info about the actual gem please look into the directory http://github.org/mkristian/ixtlan-guard/gem:enforce-ssl-gem
  5
+p. info about the actual gem please look into the directory "enforce-ssl-gem":http://github.org/mkristian/ixtlan-guard/gem
6 6
 
7 7
 h2. usage
8 8
 
@@ -15,7 +15,7 @@ all requests which comes in as http will be redirected to the https url obeying
15 15
 
16 16
 h3. configure the ssl port
17 17
 
18  
-p configure the enforced ssl port with (default: 443)
  18
+p configure the enforced ssl port with (default => { development => 3000, production => 443)
19 19
 
20 20
 bc.   config.ssl_port = 8443
21 21
 
@@ -25,7 +25,7 @@ h3. using a webserver which listens to http + https
25 25
 
26 26
 p. if your Gemfile allows to JRuby as interpreter then you can use the *jetty-run* from the *ruby-maven* gem (jruby only) to have both an http and an https port listing for requests.
27 27
 
28  
-p. webrick can handle ssl as well here a blog which explains how to get ssl working for http://www.nearinfinity.com/blogs/chris_rohr/configuring_webrick_to_use_ssl.html:"webrick and rails3". but you have *only* ssl then !
  28
+p. webrick can handle ssl as well here a blog which explains how to get ssl working for "webrick and rails3":http://www.nearinfinity.com/blogs/chris_rohr/configuring_webrick_to_use_ssl.html. but you have *only* ssl then !
29 29
 
30 30
 p. maybe other servers can offer you both ssl and none-ssl . . .
31 31
 
13  enforce-ssl-gem/enforce-ssl.gemspec
@@ -19,14 +19,15 @@ Gem::Specification.new do |s|
19 19
   s.add_development_dependency 'rake', '0.8.7'
20 20
 
21 21
   s.post_install_message = <<-TEXT
22  
-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
23  
-configure the enforced ssl port with (default: 443)
  22
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  23
+configure the enforced ssl port with 
  24
+(default => { development => 3000, production => 443 }):
24 25
 
25 26
    config.ssl_port = 8443
26 27
 
27  
-for development you can do that in 'config/environments/development.rb'. you 
28  
-can use 'jetty-run' from 'ruby-maven' gem (jruby only) to have both an http 
29  
-and an https port listing for requests.
30  
-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
  28
+for development you can do that in 'config/environments/development.rb'. 
  29
+you can use 'jetty-run' from 'ruby-maven' gem (jruby only) to have both 
  30
+an http and an https port listing for requests.
  31
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
31 32
 TEXT
32 33
 end

0 notes on commit 620c77a

Please sign in to comment.
Something went wrong with that request. Please try again.