Changeset 2729 for package_branches/invirt-web/cherrypy-rebased/code
- Timestamp:
- Dec 20, 2009, 9:48:06 PM (15 years ago)
- Location:
- package_branches/invirt-web/cherrypy-rebased/code
- Files:
-
- 1 copied
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
package_branches/invirt-web/cherrypy-rebased/code/auth.fcgi
r2728 r2729 1 1 #!/usr/bin/python 2 """Main FastCGI entry point for web interface"""2 """Main FastCGI entry point for authenticated web interface""" 3 3 4 4 import cherrypy 5 5 import os 6 6 import sys 7 from main import InvirtWeb , InvirtUnauthWeb7 from main import InvirtWeb 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(InvirtWeb(), 46 '/', 47 app_config) 48 app.merge(conf_file) 53 49 cherrypy.config.update(conf_file) 54 50 -
package_branches/invirt-web/cherrypy-rebased/code/unauth.fcgi
r2728 r2729 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.