Skip to content

Instantly share code, notes, and snippets.

@siutin
Last active August 29, 2015 14:18
Show Gist options
  • Select an option

  • Save siutin/72f6a5b2c6dfdcc597c6 to your computer and use it in GitHub Desktop.

Select an option

Save siutin/72f6a5b2c6dfdcc597c6 to your computer and use it in GitHub Desktop.
defualt virtual host example - ubuntu-rails-apache-passenger
<VirtualHost *:80>
# ServerName localhost
DocumentRoot /var/www/app/current/public
<Directory /var/www/app/current/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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment