source: server/fedora/config/etc/httpd/vhosts.d/template @ 971

Last change on this file since 971 was 870, checked in by geofft, 16 years ago
yay SSL vhosts yay
File size: 1003 bytes
Line 
1# do not trailing-slash DocumentRoot
2
3<VirtualHost *:80>
4        ServerName hname.mit.edu
5        ServerAlias hname
6        DocumentRoot /afs/athena.mit.edu/path/web_scripts/subdir
7        Alias /~uname /afs/athena.mit.edu/path/web_scripts
8        SuExecUserGroup uname uname
9        Include conf.d/vhosts-common.conf
10</VirtualHost>
11
12<IfModule ssl_module>
13        <VirtualHost *:443>
14                ServerName hname.mit.edu
15                ServerAlias hname
16                DocumentRoot /afs/athena.mit.edu/path/web_scripts/subdir
17                Alias /~uname /afs/athena.mit.edu/path/web_scripts
18                SuExecUserGroup uname uname
19                Include conf.d/vhosts-common-ssl.conf
20                SSLCertificateFile /etc/pki/tls/certs/hname.pem
21        </VirtualHost>
22        <VirtualHost *:444>
23                ServerName hname.mit.edu
24                ServerAlias hname
25                DocumentRoot /afs/athena.mit.edu/path/web_scripts/subdir
26                Alias /~uname /afs/athena.mit.edu/path/web_scripts
27                SuExecUserGroup uname uname
28                Include conf.d/vhosts-common-ssl.conf
29                Include conf.d/vhosts-common-ssl-cert.conf
30                SSLCertificateFile /etc/pki/tls/certs/hname.pem
31        </VirtualHost>
32</IfModule>
Note: See TracBrowser for help on using the repository browser.