mod python?

Gregor Hoffleit flight at mathi.uni-heidelberg.de
Fri Jan 7 06:47:54 EST 2000


On Fri, Jan 07, 2000 at 09:43:49AM +0000, Sposhua wrote:
> b) Is there an equivalent for Python?

Yep, there is. The equivalent to mod_perl is known as PyApache
(http://www.msg.com.mx/pyapache/).

> c) What the heck is an Apache module anyway? (in practical terms)

cf. www.apache.org. A module is a module. My definition of an Apache module:
Something that enhances the Apache server but doesn't belong into the Apache
core, i.e. a plugin for Apache. As you wrote, modules like PyApache and
mod_perl embed a Perl/Python interpreter into the Apache server so that the
server doesn't need to fork a separate process to handle Perl/Python CGI
scripts, i.e. you don't have to pay the fork tax.


There are alternatives to PyApache like PCGI (Persistent CGI,
http://starship.python.net/crew/jbauer/persistcgi/) and a corresponding
mod_pcgi (http://www.zope.org/Members/phd/mod_pcgi2).

    Gregor




More information about the Python-list mailing list