source: vhosts/old-kitchen-sink.conf @ 162

Last change on this file since 162 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    User scripts
13    Group webusers
14</VirtualHost>
15
16<VirtualHost *:80>
17    ServerName scripts.mit.edu
18    ServerAlias scripts
19    DocumentRoot /afs/athena.mit.edu/contrib/scripts/web_scripts/home
20    User scripts
21    Group webusers
22</VirtualHost>
23
24<IfModule mod_ssl.c>
25    <VirtualHost 18.181.0.50:443>
26        ServerName scripts-cert.mit.edu
27        ServerAlias scripts-cert
28        DocumentRoot /afs/athena.mit.edu/contrib/scripts/web_scripts/home
29        SSLEngine on
30        SSLCertificateFile /etc/ssl/certs/scripts-cert.pem
31        SSLCertificateKeyFile /etc/ssl/private/scripts-cert.pem
32        SSLCACertificateFile /etc/ssl/certs/ca.pem
33        SSLVerifyClient require
34        SSLVerifyDepth 1
35        SSLOptions +StdEnvVars +CompatEnvVars
36        User scripts
37        Group webusers
38    </VirtualHost>
39    <VirtualHost *:443>
40        ServerName vhosts.mit.edu
41        ServerAlias vhosts
42        DocumentRoot /afs/athena.mit.edu/contrib/scripts/vhosts/server.php
43        SSLEngine on
44        SSLCertificateFile /etc/ssl/certs/cert.pem
45        SSLCertificateKeyFile /etc/ssl/private/key.pem
46        SSLCACertificateFile /etc/ssl/certs/ca.pem
47        SSLVerifyClient none
48        SSLOptions +StdEnvVars +CompatEnvVars
49    </VirtualHost>
50    <VirtualHost *:443>
51        ServerName scripts.mit.edu
52        ServerAlias scripts
53        DocumentRoot /afs/athena.mit.edu/contrib/scripts/web_scripts/home
54        SSLEngine on
55        SSLCertificateFile /etc/ssl/certs/cert.pem
56        SSLCertificateKeyFile /etc/ssl/private/key.pem
57        SSLCACertificateFile /etc/ssl/certs/ca.pem
58        SSLVerifyClient none
59        SSLOptions +StdEnvVars +CompatEnvVars
60        User scripts
61        Group webusers
62    </VirtualHost>
63</IfModule>
64
65Include /afs/athena.mit.edu/contrib/scripts/vhosts/conf.d/*.conf
Note: See TracBrowser for help on using the repository browser.