####
##
#
# DO NOT EDIT THIS FILE - CHANGES WILL BE OVERWRITTEN
#
# This file is automatically generated.
#
# http://src.bytemark.co.uk/trac/bytemark-vhost/wiki/ssl/hosting
#
##
###
NameVirtualHost 212.110.188.27:443
<VirtualHost 212.110.188.27:443>
SSLEngine On
SSLCertificateFile /srv/content-hosting.co.uk/config/ssl.key
SSLCertificateChainFile /srv/content-hosting.co.uk/config/ssl.bundle
SSLOptions +StrictRequire
#
# This is the directory people are redirected to
# if their site is empty.
#
Alias /bytemark/ "/var/www/bytemark/"
<Directory "/var/www/bytemark/">
DirectoryIndex index.html
AllowOverride None
</Directory>
#
# Allow users to override settings via .htaccess
#
<Directory "/srv">
AllowOverride all
</Directory>
#
# And this makes that redirection happen.
#
<LocationMatch "^/+ >
Options -Indexes
ErrorDocument 403 /bytemark/
</LocationMatch>
#
# The document root
#
DocumentRoot /srv/content-hosting.co.uk/public/htdocs/
#
# General CGI Handling
#
ScriptAlias /cgi-bin/ /srv/content-hosting.co.uk/public/cgi-bin/
<Location /cgi-bin>
Options +ExecCGI
</Location>
#
# We need to log the virtual hostname the incoming request was
# made against, so that the cron-job in /etc/cron.daily may generate
# statistics for each domain.
#
ErrorLog /var/log/apache2/content-hosting.co.uk.ssl.error.log
CustomLog /var/log/apache2/content-hosting.co.uk.ssl.access.log combined
</VirtualHost>
NameVirtualHost 212.110.188.27:80
<VirtualHost 212.110.188.27:80>
#
# This is the directory people are redirected to
# if their site is empty.
#
Alias /bytemark/ "/var/www/bytemark/"
<Directory "/var/www/bytemark/">
DirectoryIndex index.html
AllowOverride None
</Directory>
#
# Allow users to override settings via .htaccess
#
<Directory "/srv">
AllowOverride all
</Directory>
#
# And this makes that redirection happen.
#
<LocationMatch "^/+ >
Options -Indexes
ErrorDocument 403 /bytemark/
</LocationMatch>
#
# The document root
#
DocumentRoot /srv/content-hosting.co.uk/public/htdocs/
#
# General CGI Handling
#
ScriptAlias /cgi-bin/ /srv/content-hosting.co.uk/public/cgi-bin/
<Location /cgi-bin>
Options +ExecCGI
</Location>
#
# We need to log the virtual hostname the incoming request was
# made against, so that the cron-job in /etc/cron.daily may generate
# statistics for each domain.
#
ErrorLog /var/log/apache2/content-hosting.co.uk.error.log
CustomLog /var/log/apache2/content-hosting.co.uk.access.log combined
</VirtualHost>