source: trunk/server/fedora/config/etc/httpd/vhosts.d/mosh.conf @ 2395

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