We got nominated! Help us out and vote for GitHub as Best Bootstrapped Startup of 2008. (You can vote once a day.) [ hide ]

public
Description: Phusion Passenger (mod_rails)
Homepage: http://www.modrails.com/
Clone URL: git://github.com/FooBarWidget/passenger.git
Click here to lend your support to: passenger and make a donation at www.pledgie.com !
Update the documentation for RailsEnv and RackEnv: they may now also be 
specified in .htaccess.
Hongli Lai (Phusion) (author)
Wed Aug 06 14:19:23 -0700 2008
commit  dd5e1b9947a1c1d1d85655c6ea4fa8e4e26e4862
tree    7e3815da6a8f5b94d54f80b30f2736bfda67c23c
parent  4672dcb77399776efd2be7ad55641e9aef18bfb1
...
682
683
684
685
686
 
 
 
 
 
 
 
687
688
689
...
786
787
788
789
790
 
 
 
 
 
 
 
791
792
793
...
682
683
684
 
 
685
686
687
688
689
690
691
692
693
694
...
791
792
793
 
 
794
795
796
797
798
799
800
801
802
803
0
@@ -682,8 +682,13 @@ configuration block. The default value is 'off'.
0
 ==== RailsEnv <string> ====
0
 This option allows one to specify the default `RAILS_ENV` value.
0
 
0
-This option may occur once, in the global server configuration or in a virtual host
0
-configuration block. The default value is 'production'.
0
+This option may occur in the following places:
0
+
0
+ * In the global server configuration.
0
+ * In a virtual host configuration block.
0
+ * In '.htaccess', if `AllowOverride Options` is on.
0
+
0
+In each place, it may be specified at most once. The default value is 'production'.
0
 
0
 [[RailsSpawnMethod]]
0
 ==== RailsSpawnMethod <string> ====
0
@@ -786,8 +791,13 @@ The given value will be accessible in Rack applications in the `RACK_ENV`
0
 environment variable. This allows one to define the environment in which
0
 Rack applications are run, very similar to `RAILS_ENV`.
0
 
0
-This option may occur once, in the global server configuration or in a virtual host
0
-configuration block. The default value is 'production'.
0
+This option may occur in the following places:
0
+
0
+ * In the global server configuration.
0
+ * In a virtual host configuration block.
0
+ * In '.htaccess', if `AllowOverride Options` is on.
0
+
0
+In each place, it may be specified at most once. The default value is 'production'.
0
 
0
 === Deprecated options ===
0
 

Comments

    No one has commented yet.