Skip to content

Instantly share code, notes, and snippets.

@ekinertac
Created May 23, 2012 23:37
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 ekinertac/2778487 to your computer and use it in GitHub Desktop.
Save ekinertac/2778487 to your computer and use it in GitHub Desktop.
Apache Add Web Site
<VirtualHost *:80>
ServerName example.com
ServerAlias www.example.com
ServerAdmin mail@example.com
DocumentRoot /var/www/example.com
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
ErrorLog /var/log/apache2/error.log
CustomLog /var/log/apache2/access.log combined
LogLevel warn
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment