Skip to content

Instantly share code, notes, and snippets.

@SpartakusMd
Last active August 29, 2015 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SpartakusMd/b36b05826d7078531a27 to your computer and use it in GitHub Desktop.
Save SpartakusMd/b36b05826d7078531a27 to your computer and use it in GitHub Desktop.
VHost template
<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