It it works at localhost (buitin server)

# locals
app = web.subdomain_application(mapping)
if __name__ == '__main__':
    app.run()


and in the product server ( Apache + mod_wsgi )

and it raise:

TypeError: wsgi() takes exactly 2 arguments (0 given)



the main code is:

# ...
> application = web.subdomain_application(mapping).wsgifunc()


How to fix it ?


-- 
http://twitter.com/qichangxing
http://blog.hi0791.com
http://simple-is-better.com
http://www.kehuyi.com/

-- 
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