Support /overlord as an alternate admin path
authorQuentin Smith <quentin@mit.edu>
Tue, 5 Aug 2008 03:27:12 +0000 (23:27 -0400)
committerQuentin Smith <quentin@mit.edu>
Tue, 5 Aug 2008 03:27:12 +0000 (23:27 -0400)
svn path=/trunk/packages/sipb-xen-www/; revision=869

code/main.py
files/etc/apache2/sites-available/ssl

index cb7375f..f6f0bff 100755 (executable)
@@ -620,6 +620,7 @@ mapping = dict(list=listVms,
                help=helpHandler,
                unauth=unauthFront,
                admin=admin,
                help=helpHandler,
                unauth=unauthFront,
                admin=admin,
+               overlord=admin,
                errortest=throwError)
 
 def printHeaders(headers):
                errortest=throwError)
 
 def printHeaders(headers):
index 57aa91d..848643c 100644 (file)
@@ -19,6 +19,7 @@
        RewriteEngine On
        RewriteRule ^/favicon.ico - [L]
        RewriteRule ^/static(.*) - [L]
        RewriteEngine On
        RewriteRule ^/favicon.ico - [L]
        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 ^/admin/static(.*) /static/$1 [L]
        RewriteRule ^/trac.fcgi(.*) - [L]
        RewriteRule ^/trac/chrome/common(.*) /usr/share/trac/htdocs$1 [L]