converting to scgi

Damjan gdamjan at gmail.com
Mon May 8 15:20:13 EDT 2006


> I'm looking for a scgi modules that make it easy to convert a CGI using
> the standard Python CGI module.  I'm hoping for something that will run
> my program either as scgi or cgi.
> 
> I did find something called paste which purports to be some sort of CGI
> Bridge framework but from the documentation, it appears that the
> flexibility has eliminated the simplicity.

If you write web application for WSGI, then you could as easilly run them in
SCGI, CGI, mod_python, fast_cgi, in twisted or in a standalone HTTP server.

Some resources:
http://groovie.org/articles/2005/10/06/wsgi-and-wsgi-middleware-is-easy
http://blog.ianbicking.org/wsgi-sample-apps-and-middleware.html
http://pythonpaste.org/do-it-yourself-framework.html

PythPaste of course provides a lot of tools to use with WSGI:
http://pythonpaste.org

Flup provides scgi, fastcgi and AJP absed WSGI servers:
http://www.saddi.com/software/flup/

The WSGI specification:
http://www.python.org/peps/pep-0333.html


ps.
It would be nice if others supplied some interesting WSGI resources too.

-- 
damjan



More information about the Python-list mailing list