#!/usr/bin/python
-"""Main FastCGI entry point for web interface"""
+"""Main FastCGI entry point for authenticated web interface"""
import cherrypy
import os
import sys
-from main import InvirtWeb, InvirtUnauthWeb
+from main import InvirtWeb
dev = False
base_dir = os.path.dirname(__file__)
}
}
- authApp = cherrypy.tree.mount(InvirtWeb(),
- '/auth',
- app_config)
- authApp.merge(conf_file)
- unauthApp = cherrypy.tree.mount(InvirtUnauthWeb(),
- '/unauth',
- app_config)
- unauthApp.merge(conf_file)
+ app = cherrypy.tree.mount(InvirtWeb(),
+ '/',
+ app_config)
+ app.merge(conf_file)
cherrypy.config.update(conf_file)
if dev: