brightbox-server-tools 2.3.2 → 2.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/railsapp-apache +6 -5
- data/lib/brightbox/version.rb +1 -1
- metadata +2 -2
data/bin/railsapp-apache
CHANGED
|
@@ -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)
|
data/lib/brightbox/version.rb
CHANGED
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.
|
|
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-
|
|
14
|
+
date: 2009-03-05 00:00:00 +00:00
|
|
15
15
|
default_executable:
|
|
16
16
|
dependencies: []
|
|
17
17
|
|