source: branches/fc20-dev/server/fedora/config/etc/httpd/vhosts.d/unim.conf

Last change on this file was 2541, checked in by achernya, 8 years ago
Apache SSL configuration cleanup. Fixes SNI on httpd 2.4
File size: 1.2 KB
Line 
1# do not trailing-slash DocumentRoot
2
3<VirtualHost *:80>
4        ServerName unim.mit.edu
5        ServerAlias unim
6        DocumentRoot /afs/athena.mit.edu/user/a/a/aandre/web_scripts/unim
7        Alias /~aandre /afs/athena.mit.edu/user/a/a/aandre/web_scripts
8        SuExecUserGroup aandre aandre
9        Include conf.d/vhosts-common.conf
10</VirtualHost>
11
12<IfModule ssl_module>
13        <VirtualHost *:443>
14                ServerName unim.mit.edu
15                ServerAlias unim
16                DocumentRoot /afs/athena.mit.edu/user/a/a/aandre/web_scripts/unim
17                Alias /~aandre /afs/athena.mit.edu/user/a/a/aandre/web_scripts
18                SuExecUserGroup aandre aandre
19                Include conf.d/vhosts-common-ssl.conf
20                SSLCertificateFile /etc/pki/tls/certs/unim.pem
21                SSLCertificateKeyFile /etc/pki/tls/private/scripts.key
22        </VirtualHost>
23        <VirtualHost *:444>
24                ServerName unim.mit.edu
25                ServerAlias unim
26                DocumentRoot /afs/athena.mit.edu/user/a/a/aandre/web_scripts/unim
27                Alias /~aandre /afs/athena.mit.edu/user/a/a/aandre/web_scripts
28                SuExecUserGroup aandre aandre
29                Include conf.d/vhosts-common-ssl.conf
30                Include conf.d/vhosts-common-ssl-cert.conf
31                SSLCertificateFile /etc/pki/tls/certs/unim.pem
32                SSLCertificateKeyFile /etc/pki/tls/private/scripts.key
33        </VirtualHost>
34</IfModule>
Note: See TracBrowser for help on using the repository browser.