Py_Apache Vs. mod_python

Michael Ströder michael at stroeder.com
Sun Jul 9 07:36:23 EDT 2000


Tim Roberts wrote:
> 
> I'll say.  Am I correct in understanding that the basic purpose of
> "mod_snake" is to allow me to write other Apache modules in Python, while
> PyApache is a module which lets me run Python CGI scripts without 
> launching a separate interpreter,

Yes. PyApache resets the Python interpreter everytime which leads to
reloading of the modules for every hit.

With mod_python you can write Apache handlers but also wrap normal
CGI-BIN scripts without having to reload the modules for every hit.

Ciao, Michael.



More information about the Python-list mailing list