On Wed, 20 Dec 2000, Jamie Krasnoo wrote:

> Ok, it seems that my startup.pl is being run twice on server start.
> 
> Startup init running
> startup.pl - loading templates into memory
> --- Loaded template file user_reg.tmpl
> Startup init running
> startup.pl - loading templates into memory
> --- Loaded template file user_reg.tmpl
> [Wed Dec 20 15:18:21 2000] [notice] Apache/1.3.14 (Unix) mod_perl/1.24_01\
> configured -- resuming normal operations
> 
> Anyone have an explanation as to why this is happening, I have no hair
> left due to trying to figure this one out.

See
http://perl.apache.org/guide/config.html#Apache_Restarts_Twice_On_Start

Apache restarts twice indeed, but it shouldn't rerun the startup.pl since
it's already require()d and in %INC. 

> 
> 
> Thanks for your help,
> 
> Jamie
> 
> 
> 



_____________________________________________________________________
Stas Bekman              JAm_pH     --   Just Another mod_perl Hacker
http://stason.org/       mod_perl Guide  http://perl.apache.org/guide 
mailto:[EMAIL PROTECTED]   http://apachetoday.com http://logilune.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/  


Reply via email to