Sha256: c5a0a57fd6c81a6f0a09b92a011d20f5f4a65b8e71186c6c25b396693322fd3d

Contents?: true

Size: 1.07 KB

Versions: 35

Compression:

Stored size: 1.07 KB

Contents

<banner>Deploying a web application: an example</banner>

Suppose you have a web application in <b>/somewhere</b>. Add a virtual host to your
Apache configuration file and set its DocumentRoot to <b>/somewhere/public</b>:
<b>
   <VirtualHost *:80>
      ServerName www.yourhost.com
      # !!! Be sure to point DocumentRoot to 'public'!
      DocumentRoot /somewhere/public    
      <Directory /somewhere/public>
         # This relaxes Apache security settings.
         AllowOverride all
         # MultiViews must be turned off.
         Options -MultiViews
         # Uncomment this if you're on Apache >= 2.4:
         #Require all granted
      </Directory>
   </VirtualHost>
</b>
And that's it! You may also want to check the Users Guide for security and
optimization tips, troubleshooting and other useful information:

  <yellow><%= @users_guide_path %></yellow>
  <yellow><%= @users_guide_url %></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

35 entries across 35 versions & 1 rubygems

Version Path
passenger-4.0.60 resources/templates/apache2/deployment_example.txt.erb
passenger-5.0.14 resources/templates/apache2/deployment_example.txt.erb
passenger-5.0.13 resources/templates/apache2/deployment_example.txt.erb
passenger-5.0.11 resources/templates/apache2/deployment_example.txt.erb
passenger-5.0.10 resources/templates/apache2/deployment_example.txt.erb
passenger-5.0.9 resources/templates/apache2/deployment_example.txt.erb
passenger-5.0.8 resources/templates/apache2/deployment_example.txt.erb
passenger-5.0.7 resources/templates/apache2/deployment_example.txt.erb
passenger-5.0.6 resources/templates/apache2/deployment_example.txt.erb
passenger-5.0.5 resources/templates/apache2/deployment_example.txt.erb
passenger-5.0.4 resources/templates/apache2/deployment_example.txt.erb
passenger-5.0.3 resources/templates/apache2/deployment_example.txt.erb
passenger-5.0.2 resources/templates/apache2/deployment_example.txt.erb
passenger-5.0.1 resources/templates/apache2/deployment_example.txt.erb
passenger-5.0.0.rc2 resources/templates/apache2/deployment_example.txt.erb
passenger-5.0.0.rc1 resources/templates/apache2/deployment_example.txt.erb
passenger-4.0.59 resources/templates/apache2/deployment_example.txt.erb
passenger-5.0.0.beta3 resources/templates/apache2/deployment_example.txt.erb
passenger-4.0.58 resources/templates/apache2/deployment_example.txt.erb
passenger-4.0.57 resources/templates/apache2/deployment_example.txt.erb