source: trunk/server/fedora/config/etc/httpd/vhosts.d/ofcourse.conf @ 2519

Last change on this file since 2519 was 2516, checked in by btidor, 10 years ago
Certificate and configuration for ofcourse.mit.edu
File size: 1.3 KB
Line 
1# do not trailing-slash DocumentRoot
2
3<VirtualHost *:80>
4        ServerName ofcourse.mit.edu
5        ServerAlias ofcourse
6        DocumentRoot /afs/athena.mit.edu/org/o/ofcourse/web_scripts/ofcourse
7        Alias /~ofcourse /afs/athena.mit.edu/org/o/ofcourse/web_scripts
8        SuExecUserGroup ofcourse ofcourse
9        Include conf.d/vhosts-common.conf
10</VirtualHost>
11
12<IfModule ssl_module>
13        <VirtualHost *:443>
14                ServerName ofcourse.mit.edu
15                ServerAlias ofcourse
16                DocumentRoot /afs/athena.mit.edu/org/o/ofcourse/web_scripts/ofcourse
17                Alias /~ofcourse /afs/athena.mit.edu/org/o/ofcourse/web_scripts
18                SuExecUserGroup ofcourse ofcourse
19                Include conf.d/vhosts-common-ssl.conf
20                SSLCertificateFile /etc/pki/tls/certs/ofcourse.pem
21                SSLCertificateChainFile /etc/pki/tls/certs/ofcourse.pem
22                SSLCertificateKeyFile /etc/pki/tls/private/scripts.key
23        </VirtualHost>
24        <VirtualHost *:444>
25                ServerName ofcourse.mit.edu
26                ServerAlias ofcourse
27                DocumentRoot /afs/athena.mit.edu/org/o/ofcourse/web_scripts/ofcourse
28                Alias /~ofcourse /afs/athena.mit.edu/org/o/ofcourse/web_scripts
29                SuExecUserGroup ofcourse ofcourse
30                Include conf.d/vhosts-common-ssl.conf
31                Include conf.d/vhosts-common-ssl-cert.conf
32                SSLCertificateFile /etc/pki/tls/certs/ofcourse.pem
33                SSLCertificateChainFile /etc/pki/tls/certs/ofcourse.pem
34                SSLCertificateKeyFile /etc/pki/tls/private/scripts.key
35        </VirtualHost>
36</IfModule>
Note: See TracBrowser for help on using the repository browser.