Hello,

I have WSGI working perfectly on my server (mod_wsgi), and I'm having
some issues. I installed web.py, and have tested "import web" in my /
var/www directory.

When I run the file "index.wsgi", I get a message "not found". That's
it, no error messages in apache's logs (which usually say something
when wsgi has an error).

File:
import web

urls = (
    '/(.*)', 'hello'
)

class hello:
    def GET(self, name):
        i = web.input(times=1)
        if not name: name = 'world'
        for c in xrange(int(i.times)): print 'Hello,', name+'!'

application = web.wsgifunc(web.webpyfunc(urls, globals()))

Can someone help me out?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to