[mod_python] Startup Options

Gregory (Grisha) Trubetskoy grisha at modpython.org
Thu Feb 5 07:00:40 EST 2004



On Wed, 14 Jan 2004, Daniel West wrote:

> mod_python's PythonImport is a neat feature; it allows you to run a script
> when an Apache process fires up.  However, it doesn't work under
> VirtualHosts, only the main server config (mod_python 3.0 and up).

The problem with PythonImport is that apache has no information on virtual
hosts when the PythonImport is executed.

The reason it was allowed to be specified anywhere rather than only the
server config was a bug in 2.7, which was corrected in 3.0

Grisha


More information about the Mod_python mailing list