source: vhosts/apache2.conf-olduserdir @ 383

Last change on this file since 383 was 132, checked in by jbarnold, 18 years ago
added virtual host files
File size: 2.4 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#       RewriteEngine On
11#       RewriteRule heartbeat(.*) /afs/athena.mit.edu/contrib/scripts/web_scripts/heartbeat.php [L]
12</VirtualHost>
13
14<VirtualHost 18.181.0.50:80>
15    ServerName scripts-cert.mit.edu
16    ServerAlias scripts-cert
17    DocumentRoot /afs/athena.mit.edu/contrib/scripts/web_scripts/home
18    SuExecUserGroup scripts users
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        RewriteEngine off
27</VirtualHost>
28
29<IfModule mod_ssl.c>
30    <VirtualHost 18.181.0.50:443>
31        ServerName scripts-cert.mit.edu
32        ServerAlias scripts-cert
33        DocumentRoot /afs/athena.mit.edu/contrib/scripts/web_scripts/home
34        SSLEngine on
35        SSLCertificateFile /etc/pki/tls/certs/scripts-cert-new.pem
36        SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
37        SSLCACertificateFile /etc/pki/tls/certs/ca.pem
38        SSLVerifyClient require
39        SSLVerifyDepth 1
40        SSLOptions +StdEnvVars
41        SuExecUserGroup scripts users
42                RewriteEngine off
43    </VirtualHost>
44    <VirtualHost *:443>
45        ServerName vhosts.mit.edu
46        ServerAlias vhosts
47        DocumentRoot /afs/athena.mit.edu/contrib/scripts/vhosts/server.php
48        SSLEngine on
49        SSLCertificateFile /etc/pki/tls/certs/cert-new.pem
50        SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
51        SSLCACertificateFile /etc/pki/tls/certs/ca.pem
52        SSLVerifyClient none
53        SSLOptions +StdEnvVars
54                RewriteEngine off
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        SSLEngine on
61        SSLCertificateFile /etc/pki/tls/certs/cert-new.pem
62        SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
63        SSLCACertificateFile /etc/pki/tls/certs/ca.pem
64        SSLVerifyClient none
65        SSLOptions +StdEnvVars
66        SuExecUserGroup scripts users
67                RewriteEngine off
68    </VirtualHost>
69</IfModule>
70
71Include /afs/athena.mit.edu/contrib/scripts/vhosts/conf.d/*.conf
Note: See TracBrowser for help on using the repository browser.