Skip to content

Instantly share code, notes, and snippets.

@typomedia
Created May 25, 2015 07:47
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 typomedia/757e96298a251afc08cd to your computer and use it in GitHub Desktop.
Save typomedia/757e96298a251afc08cd to your computer and use it in GitHub Desktop.
<VirtualHost *:80>
ServerName domain.tld
ServerAlias www.domain.tld *.domain.tld
ServerAdmin webmaster@domain.tld
DocumentRoot /var/www/domain.tld
<Directory /var/www/domain.tld/>
Options FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/domain.tld.error.log
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/domain.tld.access.log combined
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment