Skip to content

Instantly share code, notes, and snippets.

@noomz
Created October 28, 2013 10:04
Show Gist options
  • Save noomz/7194254 to your computer and use it in GitHub Desktop.
Save noomz/7194254 to your computer and use it in GitHub Desktop.
Sample apache2 virtual host file
<VirtualHost *:80>
ServerName noomz.in.th
DocumentRoot /var/www/noomz.in.th/html/
<Directory /var/www/noomz.in.th/html/>
Options -Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
ErrorLog /var/www/noomz.in.th/logs/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/www/noomz.in.th/logs/access.log combined
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment