loui...@gmail.com
unread,Jun 19, 2008, 3:54:10 AM6/19/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to isapi_wsgi-dev
in my application,i try to use cherrypy with isapi_wsgi,but not
success.
def __ExtensionFactory__():
try:
#cpwsgiapp = cherrypy.Application(HelloWorld(),'F:
\python-work')
app = cherrypy.tree.mount(HelloWorld())
cherrypy.engine.start(blocking=False)
#wsgi_apps = [('/blog', blog), ('/forum', forum)]
#server =
wsgiserver.CherryPyWSGIServer(('localhost', 8080), HelloWorld(),
server_name='localhost')
return isapi_wsgi.ISAPISimpleHandler(app)
finally:
# This ensures that any left-over threads are stopped as well.
cherrypy.engine.stop()