[mod_python] Access to apache namespace in PythonPath

Michael S. Fischer michael at dynamine.net
Mon Nov 10 12:58:07 EST 2003


Gregory (Grisha) Trubetskoy wrote:

> 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?

I do that now (using bash and sed, not Python).

But, I think that being able to pass variable parameters be used in 
Apache configuration is sexier, and very helpful when working in the 
context of a version-control environment.

--Michael



More information about the Mod_python mailing list