Skip to content

Instantly share code, notes, and snippets.

@jamescarr
Created October 16, 2011 21:43
Show Gist options
  • Save jamescarr/1291459 to your computer and use it in GitHub Desktop.
Save jamescarr/1291459 to your computer and use it in GitHub Desktop.
NameVirtualHost answers.example.com:80
<VirtualHost answers.example.com:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/answers
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/answers/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
ErrorLog /var/log/apache2/answers.example.com_error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/answers.example.com_access.log combined
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment