JT Smith wrote:
> My modperl app has its own init handler, but I'd also like to use
> Apache2::Reload on my dev box so I don't have to continue restarting
> Apache. Is it possible to register 2 init handlers through the Apache
> config? 

sure, slather on as many as you want

  PerlInitHandler My::Foo My::Bar
  PerlInitHandler My::Baz

and they'll all get run.  provided nobody throws an error, that is :)

the only place where this isn't true is for translation, authen/authz, and
mime setting phases, where you can register as many as you want but the
first one to return OK prevents the rest from being run.

> If not, is it possible to register them through code?

you can always use $r->push_handlers() to do that as well.

HTH

--Geoff

Reply via email to