aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Longair <mhl@pobox.com>2013-04-08 16:04:35 +0100
committerMark Longair <mhl@pobox.com>2013-04-08 16:07:14 +0100
commit270f65d519140dbb490371d2acece701d9c47811 (patch)
tree5b7c63debf1810ba39f6a0b29c788fb39b5d331d
parentf1f18afecd819e27cd7a29e1b4bce68fa86c8577 (diff)
Add a RackEnv setting to httpd.conf-example and explain why
-rw-r--r--config/httpd.conf-example5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/httpd.conf-example b/config/httpd.conf-example
index e468a1e96..0115ad8d9 100644
--- a/config/httpd.conf-example
+++ b/config/httpd.conf-example
@@ -50,7 +50,12 @@ RewriteRule ^/request/((\d{1,3})\d*)/(response/\d+/attach/(html/)?\d+/.+) /views
PassengerResolveSymlinksInDocumentRoot on
# Recommend setting this to 3 or less on servers with 512MB RAM
PassengerMaxPoolSize 6
+ # The RackEnv variable applies to Rails 3 applications, while
+ # the RailsEnv variable applies to applicatoins for earlier
+ # versions of Rails. There doesn't seem to be any harm in
+ # setting both, however.
RailsEnv production
+ RackEnv production
</IfModule>
# Gzip font resources