Skip to content

Instantly share code, notes, and snippets.

@tidalvirus
Last active August 29, 2015 14:21
Show Gist options
  • Save tidalvirus/e26915d2d811d61381c4 to your computer and use it in GitHub Desktop.
Save tidalvirus/e26915d2d811d61381c4 to your computer and use it in GitHub Desktop.
default http vhost
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ErrorLog "|/usr/bin/cronolog -l /var/www/default/log/error.log /var/www/default/log/error/error.%Y.%m.log"
CustomLog "|/usr/bin/cronolog -l /var/www/default/log/access.log /var/www/default/log/access/access.%Y.%m.log" combined
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
DocumentRoot /var/www/default/html
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/default/html>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
# ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
# <Directory "/usr/lib/cgi-bin">
# AllowOverride None
# Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
# Order allow,deny
# Allow from all
# </Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment