From 4d235e8d481971c081b3141babd65d36e9ad0337 Mon Sep 17 00:00:00 2001 From: Quentin Smith Date: Mon, 4 Aug 2008 23:27:12 -0400 Subject: [PATCH] Support /overlord as an alternate admin path svn path=/trunk/packages/sipb-xen-www/; revision=869 --- code/main.py | 1 + files/etc/apache2/sites-available/ssl | 1 + 2 files changed, 2 insertions(+) diff --git a/code/main.py b/code/main.py index cb7375f..f6f0bff 100755 --- a/code/main.py +++ b/code/main.py @@ -620,6 +620,7 @@ mapping = dict(list=listVms, help=helpHandler, unauth=unauthFront, admin=admin, + overlord=admin, errortest=throwError) def printHeaders(headers): diff --git a/files/etc/apache2/sites-available/ssl b/files/etc/apache2/sites-available/ssl index 57aa91d..848643c 100644 --- a/files/etc/apache2/sites-available/ssl +++ b/files/etc/apache2/sites-available/ssl @@ -19,6 +19,7 @@ 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] -- 1.7.9.5