Mercurial > hg > soundsoftware-site
view deploy/config/soundsoftware-static.conf @ 1613:90bed4e10cc8 deploy
Download file link
author | Chris Cannam |
---|---|
date | Wed, 30 Aug 2017 17:24:37 +0100 |
parents | 16325d2ab2dd |
children |
line wrap: on
line source
<VirtualHost *:80> ServerName soundsoftware.ac.uk ServerAlias www.soundsoftware.ac.uk ServerAdmin chris.cannam@eecs.qmul.ac.uk DocumentRoot /var/www/soundsoftware-static/soundsoftware.ac.uk ErrorLog /var/log/apache2/soundsoftware-error.log CustomLog /var/log/apache2/soundsoftware-access.log vhost_combined <Directory /var/www/soundsoftware-static/soundsoftware.ac.uk> RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.html -f RewriteRule ^(.*)$ $1.html </Directory> <FilesMatch "^.*\.(install|inc)$"> Order Deny,Allow deny from all </FilesMatch> <DirectoryMatch "\.(hg|svn|git)"> Order allow,deny Deny from all Satisfy All </DirectoryMatch> LogLevel warn ServerSignature Off </VirtualHost> <VirtualHost *:443> # We don't serve SSL: redirect to the code site ServerName soundsoftware.ac.uk ServerAlias www.soundsoftware.ac.uk ServerAdmin chris.cannam@eecs.qmul.ac.uk SSLEngine on SSLCertificateFile /etc/apache2/certs/code.soundsoftware.ac.uk.crt SSLCertificateKeyFile /etc/apache2/certs/code.soundsoftware.ac.uk.key SSLCertificateChainFile /etc/apache2/certs/code.soundsoftware.ac.uk.ca-bundle SSLVerifyClient none SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW DocumentRoot /var/www/soundsoftware-static/soundsoftware.ac.uk Redirect permanent / https://code.soundsoftware.ac.uk/ ErrorLog /var/log/apache2/code-error.log CustomLog /var/log/apache2/code-access.log vhost_combined LogLevel warn ServerSignature Off </VirtualHost>