Sha256: b08e10aa3cb143003f7a00b3709095eadad99559d17e6412199ebe7a45a70d7c

Contents?: true

Size: 753 Bytes

Versions: 8

Compression:

Stored size: 753 Bytes

Contents

<banner>Deploying a Ruby on Rails application: an example</banner>

Suppose you have a Ruby on Rails application in <b>/somewhere</b>. Add a virtual host
to your Apache configuration file, and set its DocumentRoot to
<b>/somewhere/public</b>, like this:
<b>
   <VirtualHost *:80>
      ServerName www.yourhost.com
      DocumentRoot /somewhere/public    # <-- be sure to point to 'public'!
   </VirtualHost>
</b>
And that's it! You may also want to check the Users Guide for security and
optimization tips and other useful information:

  <yellow><%= @users_guide %></yellow>

Enjoy Phusion Passenger, a product of Phusion (<b><%= @phusion_website %></b>) :-)
<b><%= @passenger_website %></b>

Phusion Passenger is a trademark of Hongli Lai & Ninh Bui.

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
passenger-2.2.5 lib/phusion_passenger/templates/apache2/deployment_example.txt.erb
passenger-2.2.3 lib/phusion_passenger/templates/apache2/deployment_example.txt.erb
passenger-2.2.4 lib/phusion_passenger/templates/apache2/deployment_example.txt.erb
passenger-2.1.2 lib/phusion_passenger/templates/deployment_example.txt.erb
passenger-2.1.3 lib/phusion_passenger/templates/deployment_example.txt.erb
passenger-2.2.1 lib/phusion_passenger/templates/apache2/deployment_example.txt.erb
passenger-2.2.0 lib/phusion_passenger/templates/apache2/deployment_example.txt.erb
passenger-2.2.2 lib/phusion_passenger/templates/apache2/deployment_example.txt.erb