source: vhosts/apache2.conf-newssl @ 293

Last change on this file since 293 was 132, checked in by jbarnold, 18 years ago
added virtual host files
File size: 1.9 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        SSLCertificateFile /etc/pki/tls/certs/cert-new.pem
32        SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
33        SSLCACertificateFile /etc/pki/tls/certs/ca.pem
34        SSLVerifyClient none
35        SSLOptions +StdEnvVars
36    <VirtualHost 18.181.0.50:443>
37        ServerName scripts-cert.mit.edu
38        ServerAlias scripts-cert
39        DocumentRoot /afs/athena.mit.edu/contrib/scripts/web_scripts/home
40        SuExecUserGroup scripts users
41                UserDir web_scripts
42                RewriteEngine off
43        SSLEngine on
44        SSLCertificateFile /etc/pki/tls/certs/scripts-cert-new.pem
45        SSLVerifyClient require
46        SSLVerifyDepth 1
47        SSLOptions +StdEnvVars
48    </VirtualHost>
49    <VirtualHost *:443>
50        ServerName vhosts.mit.edu
51        ServerAlias vhosts
52        DocumentRoot /afs/athena.mit.edu/contrib/scripts/vhosts/server.php
53                RewriteEngine off
54        SSLEngine on
55    </VirtualHost>
56    <VirtualHost *:443>
57        ServerName scripts.mit.edu
58        ServerAlias scripts
59        DocumentRoot /afs/athena.mit.edu/contrib/scripts/web_scripts/home
60                SuExecUserGroup scripts users
61                UserDir web_scripts
62                RewriteEngine off
63        SSLEngine on
64    </VirtualHost>
65</IfModule>
66
67Include /afs/athena.mit.edu/contrib/scripts/vhosts/conf.d/*.conf
Note: See TracBrowser for help on using the repository browser.