This page http://webpy.org/cookbook/mod_wsgi-apache has the following
example code.py to work with Apache in SCGI mode. I tried the code.
When I run python code.py, code.py exits right away and does not stay
as a server. Am I misunderstanding the code?
import web
urls = (
'/.*', 'hello',
)
class hello:
def GET(self):
return "Hello, world."
application = web.application(urls, globals()).wsgifunc()
--
You received this message because you are subscribed to the Google Groups
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/webpy?hl=en.