+<VirtualHost *:443>
+ ServerAdmin sipb-xen@mit.edu
+ ServerName sipb-xen-dev.mit.edu:443
+
+ DocumentRoot /var/www/sipb-xen-www
+ <Directory /var/www/sipb-xen-www>
+ Options Indexes FollowSymLinks MultiViews ExecCGI
+ AllowOverride None
+ Order allow,deny
+ allow from all
+ </Directory>
+ <Location />
+ Require valid-user
+ AuthType SSLCert
+ AuthSSLCertVar SSL_CLIENT_S_DN_Email
+ AuthSSLCertStripSuffix "@MIT.EDU"
+ </Location>
+
+ RewriteEngine On
+ RewriteRule ^/static(.*) - [L]
+ RewriteRule ^/trac.fcgi(.*) - [L]
+ RewriteRule ^/trac/chrome/common(.*) /usr/share/trac/htdocs$1 [L]
+ RewriteRule ^/trac(.*) /var/www/trac/trac.fcgi$1 [L]
+ RewriteRule ^/var(.*) - [L]
+ RewriteRule ^/wiki(.*) - [L]
+ RewriteRule ^/(.*) /var/www/sipb-xen-www/main.py/$1 [L]
+
+ RewriteLog /var/log/apache2/rewrite.log
+ RewriteLogLevel 0
+
+ ErrorLog /var/log/apache2/error.log
+
+ # Possible values include: debug, info, notice, warn, error, crit,
+ # alert, emerg.
+ LogLevel warn
+
+ CustomLog /var/log/apache2/ssl_access.log combined
+ ServerSignature On
+
+ SSLEngine on
+
+ SSLCertificateFile ssl/server.crt
+ SSLCertificateKeyFile ssl/server.key
+
+ SSLCACertificateFile ssl/mitCAclient.pem
+ SSLVerifyClient optional
+ SSLVerifyDepth 10
+
+ SSLOptions +StdEnvVars
+
+ SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0
+
+
+ Redirect /wiki https://sipb-xen-dev.mit.edu/trac/wiki
+</VirtualHost>
+
+<VirtualHost *:446>
+ ServerAdmin sipb-xen@mit.edu
+ ServerName sipb-xen-dev.mit.edu:446
+
+ DocumentRoot /var/www/sipb-xen-www
+ <Directory />
+ Options Indexes FollowSymLinks MultiViews ExecCGI
+ AllowOverride None
+ Order allow,deny
+ allow from all
+ </Directory>
+
+ ErrorLog /var/log/apache2/error.log
+
+ # Possible values include: debug, info, notice, warn, error, crit,
+ # alert, emerg.
+ LogLevel warn
+
+ CustomLog /var/log/apache2/ssl_nocert_access.log combined
+ ServerSignature On
+
+ SSLEngine on
+
+ SSLCertificateFile ssl/server.crt
+ SSLCertificateKeyFile ssl/server.key
+
+ SSLVerifyClient none
+
+ SSLOptions +StdEnvVars
+
+ SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0
+</VirtualHost>