Robert Brewer
fumanchu at amor.org
Thu Jan 20 17:14:16 EST 2005
Bo Lorentsen wrote: > Will it be possible to access PythonOptions like log_error in a more > global context (log_error is a function on the apache > module), so that > global values can get there init value on module init and NOT on the > first incomming request ? I have some code that work around this, but > its not pretty, and I like things to be so, and I don't > understand why > it has to be a method on the request module. > > Is this completely impossible ? Not at all. Use the PythonImport directive to load a "global" module when Apache starts, and have that module inspect and preserve PythonOption values. Robert Brewer MIS Amor Ministries fumanchu at amor.org
|