From: Quentin Smith Date: Sun, 9 Aug 2009 23:16:26 +0000 (-0400) Subject: Mount app on / regardless of whether it's fastcgi X-Git-Tag: 0.1.0^2~54 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/commitdiff_plain/134d4e881d540fbe492687aac00b8aab2ce7c728?ds=sidebyside Mount app on / regardless of whether it's fastcgi svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2681 --- 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,