0
@@ -184,7 +184,7 @@ Next, add a `RailsBaseURI` option to the virtual host configuration:
0
ServerName www.zsfa.com
0
DocumentRoot /websites/zsfa
0
+ RailsBaseURI /rails
# This line has been added.0
-------------------------------------------
0
Then restart Apache. The application has now been deployed.
0
@@ -218,7 +218,7 @@ configuration options:
0
RailsSpawnServer <filename>::
0
The location to the Passenger spawn server. This configuration option is
0
essential to Passenger. The correct value is given by the installer,
0
- and should
not be changed manually.
0
+ and should
usually not be changed manually.
0
This option may only occur once, in the global server configuration. If
0
this option is not given, then Passenger will look for the program
0
@@ -281,9 +281,9 @@ The default is 'ruby'.
0
This option allows one to specify the default `RAILS_ENV` value.
0
- The default is 'production'.
0
This option may only occur once, in the global server configuration.
0
+The default is 'production'.
0
RailsMaxPoolSize <integer>::
0
The maximum number of Ruby on Rails application instances that may
0
@@ -312,7 +312,7 @@ not hard to install.
0
RailsPoolIdleTime <integer>::
0
The maximum number of seconds that a Ruby on Rails application instance
0
may be idle. That is, if an application instance hasn't done anything after
0
- the given
amount of seconds, then it will be shutdown in order to conserve
0
+ the given
number of seconds, then it will be shutdown in order to conserve
0
Decreasing this value means that Rails applications will have to be spawned
0
@@ -321,8 +321,9 @@ notice a small delay when they visit your Rails site. However, it will also
0
free up resources used by Rails applications more quickly.
0
The optimal value depends on the average time that a visitor spends on a single
0
-Rails web page. We recommend a value of `2 * x`, where `x` is the average number
0
-of seconds that a visitor spends on a single Rails web page. Your mileage may vary.
0
+Rails web page. We recommend a value of `2 * x`, where `x` is the average
0
+number of seconds that a visitor spends on a single Rails web page. But your
0
This option may only occur once, in the global server configuration.
0
The default value is '120'.
0
@@ -335,7 +336,7 @@ This option may only occur once, in the global server configuration.
0
The default value is 'on'.
0
-RailsDefaultUser <
string>::
0
+RailsDefaultUser <
username>::
0
Passenger enables <<user_switching,user switching support>> by default.
0
This configuration option allows one to specify which user Rails
0
applications must run as, if user switching fails or is disabled.
Comments
No one has commented yet.