brightbox-server-tools 2.3.2 → 2.3.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -57,11 +57,6 @@ def standard_server_contents
57
57
  RewriteCond %{SCRIPT_FILENAME} !^/system
58
58
  RewriteRule ^.*$ /system/maintenance.html [R=503,L]
59
59
 
60
- # Rewrite index to check for static
61
- RewriteRule ^/$ /index.html [QSA]
62
-
63
- # Rewrite to check for Rails cached page
64
- RewriteRule ^([^.]+)$ $1.html [QSA]
65
60
  #{mongrel_rewrite_configuration}
66
61
  # Deflate
67
62
  AddOutputFilterByType DEFLATE text/plain text/html text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript
@@ -93,6 +88,12 @@ def mongrel_rewrite_configuration
93
88
  unless @passenger
94
89
  %Q@
95
90
 
91
+ # Rewrite index to check for static
92
+ RewriteRule ^/$ /index.html [QSA]
93
+
94
+ # Rewrite to check for Rails cached page
95
+ RewriteRule ^([^.]+)$ $1.html [QSA]
96
+
96
97
  # Redirect all non-static requests to cluster
97
98
  RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f [OR]
98
99
  RewriteCond %{REQUEST_METHOD} !^(GET|HEAD)
@@ -1,5 +1,5 @@
1
1
  module Brightbox
2
- VERSION = "2.3.2"
2
+ VERSION = "2.3.3"
3
3
  end
4
4
  # Set global scope version so that OptionParser picks it up.
5
5
  ::Version = Brightbox::VERSION
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brightbox-server-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.2
4
+ version: 2.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Leach
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2009-02-24 00:00:00 +00:00
14
+ date: 2009-03-05 00:00:00 +00:00
15
15
  default_executable:
16
16
  dependencies: []
17
17