Skip to content

Instantly share code, notes, and snippets.

@aurels
Created December 21, 2009 14:02
Show Gist options
  • Save aurels/260957 to your computer and use it in GitHub Desktop.
Save aurels/260957 to your computer and use it in GitHub Desktop.
###########################
# Typical Passenger VHost #
###########################
<VirtualHost *:80>
ServerName myapp.com
ServerAlias www.myapp.com
ServerAdmin support@myapp.com
DocumentRoot /var/www/myapp/current/public
RailsEnv production
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/myapp/current/public>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment