public
Description: Phusion Passenger (mod_rails)
Homepage: http://www.modrails.com/
Clone URL: git://github.com/FooBarWidget/passenger.git
Search Repo:
Click here to lend your support to: passenger and make a donation at www.pledgie.com !
s/zsfa/phusion/
Hongli Lai (Phusion) (author)
Thu Apr 10 11:01:32 -0700 2008
commit  e5b39013396e33d689dc2f4bf0ff5e18b5dd64d3
tree    0b21886df315d520a4cb322c5ff53e228aa5ce0f
parent  fd044aed9a8b1ad10c1ebff4adb3ea4fc6399323
0
doc/Users guide.txt → 100644
...
166
167
168
169
170
 
 
171
172
173
174
175
 
176
177
178
179
180
 
181
182
183
184
185
186
187
 
 
188
189
190
...
166
167
168
 
 
169
170
171
172
173
174
 
175
176
177
178
179
 
180
181
182
183
184
185
 
 
186
187
188
189
190
0
@@ -166,25 +166,25 @@ Suppose that you already have a virtual host:
0
 
0
 -------------------------------------------
0
 <VirtualHost *:80>
0
- ServerName www.zsfa.com
0
- DocumentRoot /websites/zsfa
0
+ ServerName www.phusion.nl
0
+ DocumentRoot /websites/phusion
0
 </VirtualHost>
0
 -------------------------------------------
0
 
0
 And you want your Ruby on Rails application to be accessible from the URL
0
-'http://www.zsfa.com/rails'.
0
+'http://www.phusion.nl/rails'.
0
 
0
 To do this, make a symlink from your Ruby on Rails application's 'public'
0
 folder to a directory in the document root. For example:
0
 -------------------------------------------
0
-ln -s /webapps/mycook/public /websites/zsfa/rails
0
+ln -s /webapps/mycook/public /websites/phusion/rails
0
 -------------------------------------------
0
 
0
 Next, add a `RailsBaseURI` option to the virtual host configuration:
0
 -------------------------------------------
0
 <VirtualHost *:80>
0
- ServerName www.zsfa.com
0
- DocumentRoot /websites/zsfa
0
+ ServerName www.phusion.nl
0
+ DocumentRoot /websites/phusion
0
     RailsBaseURI /rails # This line has been added.
0
 </VirtualHost>
0
 -------------------------------------------

Comments

    No one has commented yet.