Show the cherrypy request object on the helloworld page
[invirt/packages/invirt-web.git] / code / main.fcgi
index 6d5543e..03f899c 100755 (executable)
@@ -19,7 +19,8 @@ if __name__=="__main__":
         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.staticdir.root': static_dir,
+                    'tools.invirtwebstate.on': True},
         '/static': {'tools.staticdir.on': True,
                     'tools.staticdir.dir': static_dir}
          })