Skip to content

Instantly share code, notes, and snippets.

@big-samantha
Created November 15, 2012 23:07
Show Gist options
  • Save big-samantha/4082198 to your computer and use it in GitHub Desktop.
Save big-samantha/4082198 to your computer and use it in GitHub Desktop.
<VirtualHost *:80>
ServerAdmin [email protected]
ServerName <%= projectname %>
ServerAlias www.<%= projectname %>
<% aliases.each do |alias| -%>
ServerAlias <%= alias %>
<% end -%>
DocumentRoot /www/<%= projectname %>/web
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /www/<%= projectname %>/web>
Options -Indexes
AllowOverride All
Order allow,deny
allow from all
</Directory>
CustomLog /www/<%= projectname %>/log/access.log combined
ErrorLog /www/<%= projectname %>/log/error.log
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment