CGI -> mod_python

Paul Boddie paul at
Tue Oct 3 11:59:26 CEST 2006

bernhard.heinzel at 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 [1] 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 mailing list