source: trunk/server/fedora/config/etc/httpd/vhosts.d/asa.conf @ 2118

Last change on this file since 2118 was 2118, checked in by adehnert, 12 years ago
Require certs for ASA DB vhost on :444. Per personal communication, in order to cut down on the people who don't provide a cert and end up unable to log in.
File size: 1.2 KB
RevLine 
[1541]1# do not trailing-slash DocumentRoot
2
3<VirtualHost *:80>
4        ServerName asa.mit.edu
5        ServerAlias asa
[2110]6        DocumentRoot /afs/athena.mit.edu/activity/a/asa-db/web_scripts/db
7        Alias /~asa-db /afs/athena.mit.edu/activity/a/asa-db/web_scripts
8        SuExecUserGroup asa-db asa-db
[1541]9        Include conf.d/vhosts-common.conf
10</VirtualHost>
11
12<IfModule ssl_module>
13        <VirtualHost *:443>
14                ServerName asa.mit.edu
15                ServerAlias asa
[2110]16                DocumentRoot /afs/athena.mit.edu/activity/a/asa-db/web_scripts/db
17                Alias /~asa-db /afs/athena.mit.edu/activity/a/asa-db/web_scripts
18                SuExecUserGroup asa-db asa-db
[1541]19                Include conf.d/vhosts-common-ssl.conf
20                SSLCertificateFile /etc/pki/tls/certs/asa.pem
[1802]21                SSLCertificateKeyFile /etc/pki/tls/private/scripts.key
[1541]22        </VirtualHost>
23        <VirtualHost *:444>
24                ServerName asa.mit.edu
25                ServerAlias asa
[2110]26                DocumentRoot /afs/athena.mit.edu/activity/a/asa-db/web_scripts/db
27                Alias /~asa-db /afs/athena.mit.edu/activity/a/asa-db/web_scripts
28                SuExecUserGroup asa-db asa-db
[1541]29                Include conf.d/vhosts-common-ssl.conf
30                Include conf.d/vhosts-common-ssl-cert.conf
[2118]31                SSLVerifyClient require
[1541]32                SSLCertificateFile /etc/pki/tls/certs/asa.pem
[1802]33                SSLCertificateKeyFile /etc/pki/tls/private/scripts.key
[1541]34        </VirtualHost>
35</IfModule>
Note: See TracBrowser for help on using the repository browser.