Skip to content

Instantly share code, notes, and snippets.

@kaesetoast
Created May 30, 2013 21:11
Show Gist options
  • Save kaesetoast/5681267 to your computer and use it in GitHub Desktop.
Save kaesetoast/5681267 to your computer and use it in GitHub Desktop.
Template for Apache vhost
<VirtualHost *:80>
ServerName {sitename}.dev
DocumentRoot /var/www/{sitename}/
<Directory /var/www/{sitename}/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
ErrorLog /var/log/apache2/{sitename}-error.log
LogLevel warn
CustomLog /var/log/apache2/{sitename}-access.log combined
ServerSignature On
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment