source: vhosts/apache2.conf-oldssl @ 152

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