RewriteEngine off
Redirect /sql https://scripts.mit.edu/~sql
RewriteEngine On
RewriteBase /~scripts
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .*(favicon\.ico) $1 [L,NS]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .*(robots\.txt) $1 [L,NS]
#NameVirtualHost *:80
#NameVirtualHost *:443
#NameVirtualHost 18.181.0.46:80
#NameVirtualHost 18.181.0.46:443
NameVirtualHost 18.181.0.50:80
NameVirtualHost 18.181.0.50:443
Alias /heartbeat /afs/athena.mit.edu/contrib/scripts/web_scripts/heartbeat
Alias /src /afs/athena.mit.edu/contrib/scripts/src
ServerName vhosts.mit.edu
DocumentRoot /afs/athena.mit.edu/contrib/scripts/vhosts/server.php
ServerName scripts-cert.mit.edu
ServerAlias scripts-cert
DocumentRoot /afs/athena.mit.edu/contrib/scripts/web_scripts/home
SuExecUserGroup scripts users
UserDir web_scripts
RewriteEngine off
ServerName scripts.mit.edu
ServerAlias scripts scripts-test.mit.edu scripts-test
DocumentRoot /afs/athena.mit.edu/contrib/scripts/web_scripts/home
SuExecUserGroup scripts users
UserDir web_scripts
RewriteEngine off
SSLCertificateFile /etc/pki/tls/certs/cert-new.pem
SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
SSLCACertificateFile /etc/pki/tls/certs/ca.pem
SSLVerifyClient none
SSLOptions +StdEnvVars
SSLUserName SSL_CLIENT_S_DN_Email
ServerName scripts-cert.mit.edu
ServerAlias scripts-cert
DocumentRoot /afs/athena.mit.edu/contrib/scripts/web_scripts/home
SuExecUserGroup scripts users
UserDir web_scripts
RewriteEngine off
SSLEngine on
SSLCertificateFile /etc/pki/tls/certs/scripts-cert-new.pem
SSLVerifyClient require
SSLVerifyDepth 1
SSLOptions +StdEnvVars
ServerName vhosts.mit.edu
ServerAlias vhosts
DocumentRoot /afs/athena.mit.edu/contrib/scripts/vhosts/server.php
RewriteEngine off
SSLEngine on
ServerName scripts.mit.edu
ServerAlias scripts scripts-test.mit.edu scripts-test
DocumentRoot /afs/athena.mit.edu/contrib/scripts/web_scripts/home
SuExecUserGroup scripts users
UserDir web_scripts
RewriteEngine off
SSLEngine on
Include /afs/athena.mit.edu/contrib/scripts/vhosts/conf.d/*.conf