Changeset 2484 for package_branches/invirt-web/cherrypy/code/main.fcgi
- Timestamp:
- Sep 28, 2009, 3:04:32 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
package_branches/invirt-web/cherrypy/code/main.fcgi
r2415 r2484 5 5 import os 6 6 import sys 7 from main import InvirtWeb 7 from main import InvirtWeb, InvirtUnauthWeb 8 8 9 9 dev = False … … 26 26 }) 27 27 app.merge(conf_file) 28 unauthApp = cherrypy.tree.mount(InvirtUnauthWeb(), 29 '/unauth', 30 {'/': {'tools.invirtwebstate.on': True}}) 31 unauthApp.merge(conf_file) 28 32 cherrypy.config.update(conf_file) 29 33 … … 35 39 cherrypy.engine.start(blocking=False) 36 40 from flup.server.fcgi import WSGIServer 37 server = WSGIServer( app)41 server = WSGIServer(cherrypy.tree) 38 42 server.run()
Note: See TracChangeset
for help on using the changeset viewer.