Skip to content

Instantly share code, notes, and snippets.

@ekinertac
Created May 23, 2012 23:37
Show Gist options
  • 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 [email protected]
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