Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 38458 invoked from network); 9 Mar 2006 20:03:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Mar 2006 20:03:25 -0000 Received: (qmail 17646 invoked by uid 500); 9 Mar 2006 20:03:19 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 17625 invoked by uid 500); 9 Mar 2006 20:03:18 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 17612 invoked by uid 99); 9 Mar 2006 20:03:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Mar 2006 12:03:18 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of gozer@ectoplasm.org designates 66.34.202.202 as permitted sender) Received: from [66.34.202.202] (HELO minerva.ectoplasm.org) (66.34.202.202) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Mar 2006 12:03:17 -0800 Received: from minerva.ectoplasm.org (localhost.localdomain [127.0.0.1]) by pmx.secure.ectoplasm.org (Postfix) with SMTP id 136AF5F533; Thu, 9 Mar 2006 12:02:57 -0800 (PST) Received: from [192.168.10.200] (unknown [192.168.10.200]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by minerva.ectoplasm.org (Postfix) with ESMTP id B759C5F522; Thu, 9 Mar 2006 12:02:56 -0800 (PST) Message-ID: <441089E7.40409@ectoplasm.org> Date: Thu, 09 Mar 2006 12:02:47 -0800 From: "Philippe M. Chiasson" User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Bill Whillers CC: modperl@perl.apache.org Subject: Re: PERL_CHILD_INIT References: <200603081633.12343.mod_perl@whohasit.com> In-Reply-To: <200603081633.12343.mod_perl@whohasit.com> X-Enigmail-Version: 0.91.0.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="------------enig4C0AB40795839E4680133072" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig4C0AB40795839E4680133072 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 --------------enig4C0AB40795839E4680133072 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFEEInuyzKhB4jDpaURA209AKCD8lDDwBQNcY9qhVBpxl0XXx48jgCdEZ52 LzPuK6loirPY8JYB9gZtSno= =qhlX -----END PGP SIGNATURE----- --------------enig4C0AB40795839E4680133072--