[mod_python] Access to apache namespace in PythonPath

Gregory (Grisha) Trubetskoy grisha at modpython.org
Mon Nov 10 15:19:11 EST 2003

There is definitely value to machine-generated configuration.

What I am not sure about is the value of the automation residing within
httpd itself.

I.e., why not have the apachectl script call a Python script to generate
the server config from scratch just before starting the server?

BTW, mod_python even includes some code that could be useful in this
respect - it's in the test suite, the httpdconf.py module.


On Mon, 10 Nov 2003, Michael S. Fischer wrote:

> Gustavo C?rdova Avila wrote:
> > Without wanting to sound flippy or anything like that, but, I don't see
> > much sense in such a configuration-time parameter "automatization",
> > because, setting such parameters is part of any deployment, it's better
> > to keep things explicit, no?
> Not necessarily.  Developing Web applications in a team environment
> often entails having developers running multiple instances of the
> server, each running within the user's context and bound to his own
> port.  In situations like this, doing run-time paramaterization is critical.
> But yes, for production applications it might make less sense.
> --Michael
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python

More information about the Mod_python mailing list