+invirt-web (0.0.9) unstable; urgency=low
+
+ * Move trac off-site - redirect somewhere else
+
+ -- Evan Broder <broder@mit.edu> Sat, 15 Nov 2008 23:12:57 -0500
+
invirt-web (0.0.8) unstable; urgency=low
* Don't depend on invirt-mail-config
+<%
+from invirt.config import structs as cfg
+hostname = cfg.web.hostname
+errmail = cfg.web.errormail
+tracuri = cfg.trac.uri
+%>
NameVirtualHost *:80
<VirtualHost *:80>
- ServerAdmin webmaster@localhost
+ ServerAdmin ${errmail}
+ ServerName ${hostname}:80
DocumentRoot /var/www/invirt-web
<Directory /var/www/invirt-web>
RewriteEngine On
RewriteRule ^/static(.*) - [L]
RewriteRule ^/admin/static(.*) /static/$1 [L]
- RewriteRule ^/trac.fcgi(.*) - [L]
- RewriteRule ^/trac/chrome/common(.*) /usr/share/trac/htdocs$1 [L]
- RewriteRule ^/trac/login(.*) https://xvm.mit.edu/trac/login$1 [L]
- RewriteRule ^/trac(.*) /var/www/trac/trac.fcgi$1 [L]
+ RewriteRule ^/trac(.*) ${trac.uri}$1 [R,L]
RewriteRule ^/invirt - [L]
RewriteRule ^/sipb-xen(.*) /invirt$1 [PT]
RewriteRule ^/kill.cgi - [L]
RewriteRule ^/~ - [L]
RewriteRule ^/(.*) /var/www/invirt-web/main.fcgi/$1 [L]
- ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
- <Directory "/usr/lib/cgi-bin">
- AllowOverride None
- Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
- Order allow,deny
- Allow from all
- </Directory>
-
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
RewriteRule ^/static(.*) - [L]
RewriteRule ^/overlord/static(.*) /static/$1 [L]
RewriteRule ^/admin/static(.*) /static/$1 [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 ^/trac(.*) ${trac.uri}$1 [R,L]
RewriteRule ^/kill.cgi - [L]
RewriteRule ^/~ - [L]
RewriteRule ^/(.*) /var/www/invirt-web/main.fcgi/$1 [L]