Skip to content

Instantly share code, notes, and snippets.

@tanihiro
Created August 9, 2013 05:39
Show Gist options
  • Save tanihiro/6191408 to your computer and use it in GitHub Desktop.
Save tanihiro/6191408 to your computer and use it in GitHub Desktop.
passenger用virtualhostの設定ファイル
<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
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment