Created
May 30, 2013 21:11
-
-
Save kaesetoast/5681267 to your computer and use it in GitHub Desktop.
Template for Apache vhost
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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