source: vhosts/apache2.conf-new @ 390

Last change on this file since 390 was 132, checked in by jbarnold, 18 years ago
added virtual host files
File size: 2.1 KB
Line 
1Redirect /sql https://scripts.mit.edu/~sql
2
3<VirtualHost _default_:80>
4    ServerName vhosts.mit.edu
5    DocumentRoot /afs/athena.mit.edu/contrib/scripts/vhosts/server.php
6</VirtualHost>
7
8<VirtualHost 18.181.0.50:80>
9    ServerName scripts-cert.mit.edu
10    ServerAlias scripts-cert
11    DocumentRoot /afs/athena.mit.edu/contrib/scripts/web_scripts/home
12    SuExecUserGroup scripts users
13</VirtualHost>
14
15<VirtualHost *:80>
16    ServerName scripts.mit.edu
17    ServerAlias scripts
18    DocumentRoot /afs/athena.mit.edu/contrib/scripts/web_scripts/home
19    SuExecUserGroup scripts users
20</VirtualHost>
21
22<IfModule mod_ssl.c>
23    <VirtualHost 18.181.0.50:443>
24        ServerName scripts-cert.mit.edu
25        ServerAlias scripts-cert
26        DocumentRoot /afs/athena.mit.edu/contrib/scripts/web_scripts/home
27        SSLEngine on
28        SSLCertificateFile /etc/pki/tls/certs/scripts-cert-new.pem
29        SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
30        SSLCACertificateFile /etc/pki/tls/certs/ca.pem
31        SSLVerifyClient require
32        SSLVerifyDepth 1
33        SSLOptions +StdEnvVars
34        SuExecUserGroup scripts users
35    </VirtualHost>
36    <VirtualHost *:443>
37        ServerName vhosts.mit.edu
38        ServerAlias vhosts
39        DocumentRoot /afs/athena.mit.edu/contrib/scripts/vhosts/server.php
40        SSLEngine on
41        SSLCertificateFile /etc/pki/tls/certs/cert-new.pem
42        SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
43        SSLCACertificateFile /etc/pki/tls/certs/ca.pem
44        SSLVerifyClient none
45        SSLOptions +StdEnvVars
46    </VirtualHost>
47    <VirtualHost *:443>
48        ServerName scripts.mit.edu
49        ServerAlias scripts
50        DocumentRoot /afs/athena.mit.edu/contrib/scripts/web_scripts/home
51        SSLEngine on
52        SSLCertificateFile /etc/pki/tls/certs/cert-new.pem
53        SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
54        SSLCACertificateFile /etc/pki/tls/certs/ca.pem
55        SSLVerifyClient none
56        SSLOptions +StdEnvVars
57        SuExecUserGroup scripts users
58    </VirtualHost>
59</IfModule>
60
61Include /afs/athena.mit.edu/contrib/scripts/vhosts/conf.d/*.conf
Note: See TracBrowser for help on using the repository browser.