dc57e27a |
1 | <VirtualHost *:443> |
2 | ServerName gluestick.office.fsf.org |
3 | |
4 | SSLEngine on |
5 | SSLProtocol ALL -SSLv2 -SSLv3 |
6 | |
7 | SSLCertificateFile /etc/ssl/private/wildcard.fsf.org.crt |
8 | SSLCertificateKeyFile /etc/ssl/private/wildcard.fsf.org.key |
9 | SSLCACertificateFile /etc/ssl/private/GandiStandardSSLCA.pem |
10 | |
11 | DocumentRoot /var/www/html/wiki |
12 | |
13 | Loglevel debug |
14 | CASDebug On |
15 | CASVersion 1 |
16 | CASAllowWildcardCert On |
17 | # This plugin seems unable to follow a Certificate Chain. Disable validation for now. Ward, 2013-01-30 |
18 | CASValidateServer Off |
19 | CASLoginURL https://cas.fsf.org/login |
20 | CASValidateURL https://cas.fsf.org/validate |
21 | |
22 | <Location /> |
23 | Authtype CAS |
24 | CASScope / |
25 | # Require group ikiwikiusers |
26 | Require group ikiwikiusers |
27 | AuthGroupFile /etc/apache2/cas-users.group |
28 | </Location> |
29 | |
30 | |
31 | ErrorLog /var/log/apache2/gluestick.office.fsf.org-error.log |
32 | CustomLog /var/log/apache2/gluestick.office.fsf.org-access.log combined |
33 | |
34 | |
35 | # Let Apache deal with favicon.ico, no need to get Django involved in that. |
36 | # Alias /favicon.ico /var/www/favicon.ico |
37 | # <LocationMatch "^/favicon.ico$"> |
38 | # SetHandler None |
39 | # </LocationMatch> |
40 | |
41 | |
42 | # RedirectMatch ^\/$ /wiki |
43 | |
44 | # <Location "/media"> |
45 | # SetHandler None |
46 | # </Location> |
47 | |
48 | <Directory /var/www/html/wiki/> |
49 | Options +ExecCGI |
50 | </Directory> |
51 | |
52 | # ScriptAlias /wiki/ikiwiki.cgi /srv/ikiwiki/cgi/ikiwiki.cgi |
53 | # ScriptAlias /wiki/history /usr/lib/cgi-bin/viewvc.cgi |
54 | |
55 | # Alias /wiki/icons /usr/share/apache2/icons |
56 | </VirtualHost> |