[mod_python] How to make mod_python know when Apache is shutdown/restarted?

Graham Dumpleton grahamd at dscpl.com.au
Sat Aug 6 05:51:48 EDT 2005


On 06/08/2005, at 1:47 PM, Scott Chapman wrote:

> Graham Dumpleton wrote:
>> On 06/08/2005, at 10:26 AM, Scott Chapman wrote:
>>> Graham Dumpleton wrote:
>>>
>>>> BTW, almost have a working version of apache.register_cleanup() 
>>>> going anyway
>>>> if you want to try it when I am done. Means modify mod_python 
>>>> source though.
>
> I downloaded svn, patched it and compiled it.  Got a lot of warnings 
> about things being redefined but it's running fine so far.

In case you aren't on the developers list for mod_python, Nicolas has
already pushed the patches I proposed back into the subversion source
code repository.

Anyway, please let us know how this feature works out and whether it
achieves what you wanted.

Graham



More information about the Mod_python mailing list