Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<VirtualHost *:80>
ErrorDocument 404 /.EverythingIsCatchingOnEverythingIsCatchingOnFire/404/index.php
ErrorDocument 410 /.EverythingIsCatchingOnEverythingIsCatchingOnFire/410/index.php
Alias /.EverythingIsCatchingOnEverythingIsCatchingOnFire /var/www/hosts/errors
DocumentRoot /var/www/
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
ServerName *
# get the server name from the Host: header
UseCanonicalName Off
# this log format can be split per-virtual-host based on the first field
# LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon
LogFormat "%V %h %l %u %t \"%r\" %>s %b \"%{User-agent}i\"" vcommon
RewriteLog /var/log/apache2/rewrite.log
RewriteLogLevel 9
CustomLog /var/log/apache2/vhost_access.log vcommon
# include the server name in the filenames used to satisfy requests
VirtualDocumentRoot /var/www/hosts/%0/htdocs
VirtualScriptAlias /var/www/hosts/%0/cgi-bin
UserDir disabled
</VirtualHost>
<Directory /var/www/hosts/www.deadbadgerdesigns.co.uk/htdocs>
Options +Includes
</Directory>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.