blob: 0e9be043be3e56c984e935abdbaead19172c8018 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
<VirtualHost *:80>
ServerName piny.be
DocumentRoot /srv/www/piny.be
<Directory />
Options Indexes FollowSymLinks MultiViews
AllowOverride None
</Directory>
Alias /js /usr/share/javascript
RedirectMatch 301 ^/$ http://piny.be/piny-web/
</VirtualHost>
<VirtualHost *:80>
ServerName www.piny.be
RedirectMatch 301 (.*) http://piny.be$1
</VirtualHost>
<VirtualHost *:443>
ServerName piny.be
DocumentRoot /srv/www/piny.be
<Directory />
Options Indexes FollowSymLinks MultiViews
AllowOverride None
</Directory>
Alias /js /usr/share/javascript
RedirectMatch 301 ^/$ http://piny.be/piny-web/
SSLEngine On
SSLCertificateFile /etc/ssl/private/secure.piny.be.pem
SSLCACertificateFile /etc/ssl/private/GandiStandardSSLCA.pem
</VirtualHost>
<VirtualHost *:80>
ServerName secure.piny.be
RedirectMatch 301 (.*) https://secure.piny.be$1
</VirtualHost>
<VirtualHost *:443>
ServerName secure.piny.be
DocumentRoot /srv/www/secure.piny.be
<Directory "/srv/www/secure.piny.be">
SSLRequireSSL
SetHandler cgi-script
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
</Directory>
<Directory "/usr/lib/cgi-bin/piny/auth">
AuthPAM_Enabled on
AuthGROUP_Enabled on
AuthPAM_FallThrough off
AuthBasicAuthoritative off
AuthType Basic
AuthName "User account for piny.be needed."
Require valid-user
</Directory>
ScriptAlias /cgit /usr/lib/cgi-bin/cgit.cgi
ScriptAlias /piny-newuser /usr/lib/cgi-bin/piny/newuser.cgi
ScriptAlias /piny-validate /usr/lib/cgi-bin/piny/checkconstraint.cgi
ScriptAlias /auth/ /usr/lib/cgi-bin/piny/auth/
Include /etc/apache2/piny-enabled
SSLEngine On
SSLCertificateFile /etc/ssl/private/secure.piny.be.pem
SSLCACertificateFile /etc/ssl/private/GandiStandardSSLCA.pem
</VirtualHost>
<VirtualHost *:80>
ServerName piny.svcs.cs.pdx.edu
RedirectMatch 301 (.*) http://piny.be$1
</VirtualHost>
|