Comment 1 for bug 447609

Revision history for this message
Denis Martinez (deuns-martinez) wrote :

I have managed to get SCGI working with trivial changes to the 1.17 startup script (main.py).
It uses flup, which supports SCGI and FastCGI equally, so it's nearly the same.

I replace the line: httpserver.serve(app, host=host, port=port)
with

    from flup.server.scgi import WSGIServer
    WSGIServer(app, bindAddress=(host, int(port))).run()

just use "from flup.server.fcgi import WSGIServer" if you want FastCGI.
I can confirm this script works great in the Cherokee web server.

This lack of feature is stupid to fix but annoying, I hope it gets mainline quickly.