Hi all,
Just wondering if there is a way to install a handler that will get called everytime the parent Apache process is about to fork/spawn a new Apache child/worker.
I know the PerlChildInitHandler is called in the child right after the fork. What I want is a handler that is called in the parent right before the fork.
There is no such thing. But if you explain what you are trying to achieve may be we can suggest an alternative solution.
In mp2 there is the PostConfig [1] phase, which happens just before ChildInit [2].
[1] http://perl.apache.org/docs/2.0/user/handlers/server.html#C_PerlPostConfigHandler_
[2] http://perl.apache.org/docs/2.0/user/handlers/server.html#C_PerlChildInitHandler_
-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html
