CGI -> mod_python
paul at boddie.org.uk
Tue Oct 3 11:59:26 CEST 2006
bernhard.heinzel at gmail.com wrote:
> it is a kind of nooby question. Is there a way to transfer a CGI python
> script to mod_python without rewriting the code?
Had you used WebStack  to begin with, this migration would involve
changing a few lines of glue code. However, as others have pointed out,
WSGI may be an appropriate API to target for a modest rewrite of the
code, given substantial resemblances to aspects of the CGI API.
More information about the Python-list