Python in Apache on Windows?

John E. Barham bezilla at hotmail.com
Sat Apr 7 00:54:51 EDT 2001


We're developing a fairly major Web-based application using Python for CGI.
All of the business logic is isolated in a C++ DLL (~300k) which is wrapped
by a Python module (~100k--and counting).

Importing this module for every CGI call is getting expensive, so I'd like
to embed Python in Apache.  I've seen references to mod_python and mod_snake
but can't get any clear indication as to their Windows compatibility.

A couple of other factors:  we're developing on Windows (because it's easy
and cheap ;) but hope to deploy on Unix, probably Solaris.  Also, we aren't
planning on going into production until the summer (July that is--don't want
to be guilty of hemispheric discrimination!) by which time Apache 2.0 will
hopefully be out of beta.  Hence I can accept short-term stability issues
for better longer-term performance and portability.

Recommendations?





More information about the Python-list mailing list