To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / deploy / config / soundsoftware-static.conf @ 1613:90bed4e10cc8

History | View | Annotate | Download (1.64 KB)

1
<VirtualHost *:80>
2
        ServerName soundsoftware.ac.uk
3
	ServerAlias www.soundsoftware.ac.uk
4
        ServerAdmin chris.cannam@eecs.qmul.ac.uk
5

    
6
        DocumentRoot /var/www/soundsoftware-static/soundsoftware.ac.uk
7

    
8
	ErrorLog /var/log/apache2/soundsoftware-error.log
9
	CustomLog /var/log/apache2/soundsoftware-access.log vhost_combined
10

    
11
	<Directory /var/www/soundsoftware-static/soundsoftware.ac.uk>
12
		RewriteEngine on
13
		RewriteCond %{REQUEST_FILENAME} !-d
14
		RewriteCond %{REQUEST_FILENAME}\.html -f
15
		RewriteRule ^(.*)$ $1.html
16
	</Directory>
17

    
18
	<FilesMatch "^.*\.(install|inc)$">
19
	     Order Deny,Allow
20
	     deny from all
21
	</FilesMatch>
22

    
23
        <DirectoryMatch "\.(hg|svn|git)">
24
                Order allow,deny
25
                Deny from all
26
                Satisfy All
27
        </DirectoryMatch>
28

    
29
	LogLevel warn
30
	ServerSignature Off
31
</VirtualHost>
32
		
33
<VirtualHost *:443>
34
	# We don't serve SSL: redirect to the code site
35
	ServerName soundsoftware.ac.uk
36
        ServerAlias www.soundsoftware.ac.uk
37
        ServerAdmin chris.cannam@eecs.qmul.ac.uk
38

    
39
	SSLEngine on
40
	SSLCertificateFile /etc/apache2/certs/code.soundsoftware.ac.uk.crt
41
	SSLCertificateKeyFile /etc/apache2/certs/code.soundsoftware.ac.uk.key
42
	SSLCertificateChainFile /etc/apache2/certs/code.soundsoftware.ac.uk.ca-bundle
43
	SSLVerifyClient none
44
	SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW	
45

    
46
        DocumentRoot /var/www/soundsoftware-static/soundsoftware.ac.uk
47

    
48
	Redirect permanent / https://code.soundsoftware.ac.uk/
49

    
50
        ErrorLog /var/log/apache2/code-error.log
51
        CustomLog /var/log/apache2/code-access.log vhost_combined
52

    
53
        LogLevel warn
54
        ServerSignature Off
55
</VirtualHost>
56