From 134d4e881d540fbe492687aac00b8aab2ce7c728 Mon Sep 17 00:00:00 2001 From: Quentin Smith Date: Sun, 9 Aug 2009 19:16:26 -0400 Subject: [PATCH] Mount app on / regardless of whether it's fastcgi svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2681 --- code/main.fcgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/main.fcgi b/code/main.fcgi index 03f899c..cd10538 100755 --- a/code/main.fcgi +++ b/code/main.fcgi @@ -18,7 +18,7 @@ if __name__=="__main__": else: conf_file = os.path.join(base_dir, 'main.conf') app = cherrypy.tree.mount(InvirtWeb(), - '/' if dev else '/main.fcgi', + '/', {'/': {'tools.staticdir.root': static_dir, 'tools.invirtwebstate.on': True}, '/static': {'tools.staticdir.on': True, -- 1.7.9.5