Dear Wiki user, You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.
The following page has been changed by MarcMongenet: http://wiki.apache.org/httpd/ModuleLife ------------------------------------------------------------------------------ * The module post_init hook is called for the 1st time. * Depending on platform, the module is completely unloaded and reloaded. It means that global and static variables are reset. * The configuration is parsed again, for real this time. - * The module post_init is called for the 2nd time. + * The module post_init hook is called for the 2nd time. - * Child processes are started, they may be forked, or not (Windows). + * Children processes are started, they may be forked, or not (Windows). - * If the child processes are not forked, they repeat the startup, with 2 configurations parsing. + * If the children are not forked, they repeat the whole startup, with 2 configurations parsing. - * On restart and gracefull restart, the module is unloaded and reloaded/init + * On restart and graceful restart, the module is unloaded and reloaded/init, and the post_config hook is called one time. == 1st and next post_config calls == In the post_config hook, we use apr_pool_userdata_get/set to detect if we are called for the first time or not. Using a static variable does not work because the module may be unloaded/reloaded between the two calls.
