X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/5d194c948d57f1a6f0ff48b39117aa6070a65bf3..0a65acc5524cc443e1682f4d524d387b9577e5c1:/files/etc/apache2/sites-available/default?ds=sidebyside diff --git a/files/etc/apache2/sites-available/default b/files/etc/apache2/sites-available/default index dc99744..7f01f05 100644 --- a/files/etc/apache2/sites-available/default +++ b/files/etc/apache2/sites-available/default @@ -2,8 +2,8 @@ NameVirtualHost *:80 ServerAdmin webmaster@localhost - DocumentRoot /var/www/ - + DocumentRoot /var/www/sipb-xen-www + Options Indexes FollowSymLinks MultiViews ExecCGI AllowOverride None Order allow,deny @@ -16,13 +16,13 @@ NameVirtualHost *:80 RewriteEngine On - #RewriteRule ^/trac - [L] + RewriteRule ^/static(.*) - [L] RewriteRule ^/trac.fcgi(.*) - [L] RewriteRule ^/trac/chrome/common(.*) /usr/share/trac/htdocs$1 [L] RewriteRule ^/trac/login(.*) https://sipb-xen-dev.mit.edu/trac/login$1 [L] RewriteRule ^/trac(.*) /var/www/trac/trac.fcgi$1 [L] RewriteRule ^/sipb-xen - [L] - RewriteRule ^(.*) https://sipb-xen-dev.mit.edu$1 + RewriteRule ^/(.*) /var/www/sipb-xen-www/main.py/$1 [L] ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/