E R wrote:
The <perl> sections don't seem to be executed in the children.
use a PerlChildInitHandler if you want to run code in the children.
Is there a way to determine which pass you are in? For large mod_perl apps, is there a way to avoid loading your code in twice? Note I am using mod_perl 1.3.41.
In mp1, use $Apache::Server::Starting, and $Apache::Server::ReStarting. see here:
http://perl.apache.org/docs/1.0/guide/config.html#Apache_Restarts_Twice_On_Start Adam