darren chamberlain <[EMAIL PROTECTED]> writes:
> Jonas Liljegren <[EMAIL PROTECTED]> said something to this effect on 09/13/2001:
> > My problem came with the use of mod_perl. Apache started up a
> > new process that died, in an endless loop. I can't put an exit
> > in a mod_perl handler.
>
> You must be running a very old version of mod_perl then, or
> called CORE::exit specifically. Apache.pm overrides exit so it
> doesn't do what you are discussing. I thinkn this was added to
> mod_perl somewhere around version 1.16.
Ok. I know you are right. It's just old habit. :-)
I will try and see what's happen if I just insert an exit in the
handler..
Yes! You are right. It does work now! =) Thank you!
My advanced mod_perl handler now looks like this:
sub handler
{
my $r = shift;
Psi::Common::initiate($r);
Psi::Common::handle_request($r);
exit 0;
}
I'll hope you find the problem. Or at least include this in a FAQ.
--
/ Jonas - http://jonas.liljegren.org/myself/en/index.html