On Sunday 12 June 2005 22:37, [EMAIL PROTECTED] wrote: > Hi Torsten, > > I put this: > > PerlModule Perl::AfterFork > PerlInitHandler Perl::AfterFork::reinit > > In the config and tested it - I get this error message: > [Sun Jun 12 22:36:46 2005] [error] Usage: Perl::AfterFork::reinit().\n > [Sun Jun 12 22:36:50 2005] [error] Usage: Perl::AfterFork::reinit().\n
The function's prototype is the culprit. It wants to be called without arguments. Hence try this: PerlModule Perl::AfterFork PerlModule Apache::Constants PerlInitHandler "sub {Perl::AfterFork::reinit(); return Apache::OK;}" or PerlModule Perl::AfterFork PerlInitHandler "sub {Perl::AfterFork::reinit();}" The blank between "sub" and "{" is essential. Torsten
pgpNjlkLDULCf.pgp
Description: PGP signature