2009/6/18 SeC <[email protected]>

>
> web.wsgi.runwsgi = lambda func, addr=None: web.wsgi.runfcgi(func,
> addr) - this force script to start in fastcgi mode, You can remove it,
> it will start in fastcgi when invoked by proper deamon.
>


like this?

# test.py
if __name__ == "__main__":
    *# web.wsgi.runwsgi = lambda func, addr=None: web.wsgi.runfcgi(func,
addr)*
    app = web.application(urls, globals())
    app.run()

and why that: http://webpy.org/cookbook/fastcgi-apache

-- 
百才招聘(baicai.com).产品部
Email: [email protected]
Gtalk: [email protected]
twitter.com/qichangxing

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