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 !
Improve documentation on deployment to sub-URI.
Hongli Lai (Phusion) (author)
Tue Jun 03 09:22:21 -0700 2008
commit  228d035024e2c4143bf6eb4244e6911b8cb775d4
tree    47ee3e01d6fb1826dc77a6648b1a0dc89192bd47
parent  9a54f2be68b1fba9c13de92634de68522e05718f
...
237
238
239
240
 
 
 
 
 
 
 
 
 
 
 
 
 
241
242
243
...
380
381
382
383
 
 
 
 
 
 
 
 
 
 
 
 
 
384
385
386
...
237
238
239
 
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
...
392
393
394
 
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
0
@@ -237,7 +237,19 @@ Next, add a <<RailsBaseURI,RailsBaseURI>> option to the virtual host configurati
0
 -------------------------------------------
0
 Then restart Apache. The application has now been deployed.
0
 
0
-TIP: It is allowed to specify <<RailsBaseURI,RailsBaseURI>> multiple times.
0
+[TIP]
0
+======================================
0
+You can deploy multiple Rails applications under a virtual host, by specifying
0
+<<RailsBaseURI,RailsBaseURI>> multiple times. For example:
0
+---------------------------------
0
+<VirtualHost *:80>
0
+ ....
0
+ RailsBaseURI /app1
0
+ RailsBaseURI /app2
0
+ RailsBaseURI /app3
0
+</VirtualHost>
0
+---------------------------------
0
+======================================
0
 
0
 === Redeploying (restarting the Ruby on Rails application) ===
0
 
0
@@ -380,7 +392,19 @@ Next, add a <<RackBaseURI,RackBaseURI>> option to the virtual host configuration
0
 -------------------------------------------
0
 Then restart Apache. The application has now been deployed.
0
 
0
-TIP: It is allowed to specify <<RacksBaseURI,RacksBaseURI>> multiple times.
0
+[TIP]
0
+======================================
0
+You can deploy multiple Rack applications under a virtual host, by specifying
0
+<<RackBaseURI,RackBaseURI>> multiple times. For example:
0
+---------------------------------
0
+<VirtualHost *:80>
0
+ ....
0
+ RacksBaseURI /app1
0
+ RacksBaseURI /app2
0
+ RacksBaseURI /app3
0
+</VirtualHost>
0
+---------------------------------
0
+======================================
0
 
0
 === Redeploying (restarting the Rack application) ===
0
 

Comments

    No one has commented yet.