Changeset 2651 for package_branches/invirt-web/cherrypy/code/unauth.fcgi
- Timestamp:
- Dec 20, 2009, 5:20:19 PM (15 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
package_branches/invirt-web/cherrypy/code/unauth.fcgi
r2650 r2651 1 1 #!/usr/bin/python 2 """Main FastCGI entry point for web interface"""2 """Main FastCGI entry point for unauthenticated web interface""" 3 3 4 4 import cherrypy 5 5 import os 6 6 import sys 7 from main import Invirt Web, InvirtUnauthWeb7 from main import InvirtUnauthWeb 8 8 9 9 dev = False … … 43 43 } 44 44 45 authApp = cherrypy.tree.mount(InvirtWeb(), 46 '/auth', 47 app_config) 48 authApp.merge(conf_file) 49 unauthApp = cherrypy.tree.mount(InvirtUnauthWeb(), 50 '/unauth', 51 app_config) 52 unauthApp.merge(conf_file) 45 app = cherrypy.tree.mount(InvirtUnauthWeb(), 46 '/', 47 app_config) 48 app.merge(conf_file) 53 49 cherrypy.config.update(conf_file) 54 50
Note: See TracChangeset
for help on using the changeset viewer.