2 from invirt.config import structs as cfg
3 hostname = cfg.web.hostname
4 errmail = cfg.web.errormail
9 ServerName ${hostname}:443
11 DocumentRoot /var/www/sipb-xen-www
12 <Directory /var/www/sipb-xen-www>
13 Options Indexes FollowSymLinks MultiViews ExecCGI
21 AuthSSLCertVar SSL_CLIENT_S_DN_Email
22 AuthSSLCertStripSuffix "@MIT.EDU"
26 RewriteRule ^/favicon.ico - [L]
27 RewriteRule ^/static(.*) - [L]
28 RewriteRule ^/overlord/static(.*) /static/$1 [L]
29 RewriteRule ^/admin/static(.*) /static/$1 [L]
30 RewriteRule ^/trac.fcgi(.*) - [L]
31 RewriteRule ^/trac/chrome/common(.*) /usr/share/trac/htdocs$1 [L]
32 RewriteRule ^/trac(.*) /var/www/trac/trac.fcgi$1 [L]
33 RewriteRule ^/var(.*) - [L]
34 RewriteRule ^/wiki(.*) - [L]
35 RewriteRule ^/kill.cgi - [L]
37 RewriteRule ^/(.*) /var/www/sipb-xen-www/main.fcgi/$1 [L]
39 RewriteLog /var/log/apache2/rewrite.log
42 ErrorLog /var/log/apache2/error.log
44 # Possible values include: debug, info, notice, warn, error, crit,
48 CustomLog /var/log/apache2/ssl_access.log combined
53 SSLCertificateFile ssl/server.crt
54 SSLCertificateKeyFile ssl/server.key
56 SSLCACertificateFile ssl/mitCAclient.pem
57 SSLVerifyClient require
60 SSLOptions +StdEnvVars
62 SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0
64 Redirect /wiki ${tracuri}
68 ServerAdmin ${errmail}
69 ServerName ${hostname}:446
71 DocumentRoot /var/www/sipb-xen-www
73 Options Indexes FollowSymLinks MultiViews ExecCGI
79 ErrorLog /var/log/apache2/error.log
81 # Possible values include: debug, info, notice, warn, error, crit,
85 CustomLog /var/log/apache2/ssl_nocert_access.log combined
90 SSLCertificateFile ssl/server.crt
91 SSLCertificateKeyFile ssl/server.key
95 SSLOptions +StdEnvVars
97 SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0