source: trunk/server/fedora/config/etc/httpd/vhosts.d/cycling.conf @ 2718

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