CGI -> mod_python

grahamd at dscpl.com.au grahamd at dscpl.com.au
Tue Oct 3 03:06:41 EDT 2006


bernhard.heinzel at gmail.com wrote:
> Hi,
>
> it is a kind of nooby question. Is there a way to transfer a CGI python
> script to mod_python without rewriting the code?

Did you look in the mod_python documentation?

  http://www.modpython.org/live/current/doc-html/hand-cgi.html

It certainly isn't the preferred way of using mod_python. You really
should consider porting it properly to either mod_python or as
someone else suggested, WSGI.

Graham




More information about the Python-list mailing list