Skip to content

Instantly share code, notes, and snippets.

@kitmenke
Last active October 9, 2015 11:08
Show Gist options
  • Save kitmenke/3494563 to your computer and use it in GitHub Desktop.
Save kitmenke/3494563 to your computer and use it in GitHub Desktop.
Apache2 Virtualhost Example configuration
<VirtualHost *>
ServerAdmin webmaster@localhost
ServerName mysite
DocumentRoot /home/kit/code/public_html/mysite
<Directory /home/kit/code/public_html/mysite>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
ErrorLog /home/kit/code/public_html/mysite/logs/error.log
LogLevel warn
CustomLog /home/kit/code/public_html/mysite/logs/access.log combined
ServerSignature On
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment