Bill Whillers wrote: > Versions: > Apache/2.0.54 > mod_perl/2.0.1 > > Where can I verify:
In mod_perl-1.x, these options were either compiled in or not.
In mod_perl-2.x, they can be enabled/disabled per-server.
> PERL_CHILD_INIT=1
use Apache2::ServerUtil ();
my $s = $r->server;
$s->is_perl_option_enabled("ChildInit");
> PERL_STACKED_HANDLERS=1
By default, in mod_perl-2.x, most handlers phases are stackable, see
http://perl.apache.org/docs/2.0/user/handlers/intro.html#Stacked_Handlers
> Are these callbacks defaulting in mod_perl 2?
> (Using Apache2::Status, I don't see current values.)
>
> How can these be verified without Apache2::Status?
Yes, use is_perl_option_enabled() like in the example above.
You can read more about it here:
http://perl.apache.org/docs/2.0/user/config/config.html#C_PerlOptions_
--------------------------------------------------------------------------------
Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID : 88C3A5A5
http://gozer.ectoplasm.org/ F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3A5A5
signature.asc
Description: OpenPGP digital signature
