Hello list,
I'm having issues getting web.py working properly with mod_wsgi
(Apache). I have the following file:
---------------------
import web
urls = (
'/.*', 'hello',
)
class hello:
def GET(self):
return "Hello, world."
application = web.application(urls, globals()).wsgifunc()
---------------------
When I run this file inside my web browser (Firefox), it asks me to
download a file (with no filename). After opening the file, this is
what it contains: \nHello, world.
What's the issue here? It looks like web.py, python, and mod_wsgi are
functioning... it's just asking me to download the output, instead of
displaying it in the browser.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---