Last active
August 29, 2015 14:23
-
-
Save SpartakusMd/b36b05826d7078531a27 to your computer and use it in GitHub Desktop.
VHost template
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 template.url | |
ServerAlias www.template.url | |
ServerAdmin template.email | |
DocumentRoot template.webroot | |
<Directory template.webroot/> | |
Options +FollowSymLinks | |
AllowOverride All | |
<IfVersion >= 2.3> | |
Require all granted | |
</IfVersion> | |
<IfVersion < 2.3> | |
Order allow,deny | |
Allow from all | |
</IfVersion> | |
</Directory> | |
ErrorLog ${APACHE_LOG_DIR}/error_template.url.log | |
CustomLog ${APACHE_LOG_DIR}/access_template.url.log combined | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment