You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modules-dev@httpd.apache.org by "William A. Rowe, Jr." <wr...@rowe-clan.net> on 2008/04/01 00:57:03 UTC

Re: How to distinguish between restart and reload in a module?

Manfred Rebentisch wrote:
> Hello,
> I would be glad, if somebody can tell me, how I can distinguish between 
> restart and reload in a module inside hooks ap_hook_post_config, 
> ap_hook_pre_config and create server config.

ap_mpm_query... it will tell you on the restart that the server is now
in its third generation (phase 1 and 2 are preconfig-test and startup
of the initial generation).