Return-Path: Delivered-To: apmail-perl-modperl-cvs-archive@perl.apache.org Received: (qmail 52686 invoked by uid 500); 7 Mar 2003 05:14:44 -0000 Mailing-List: contact modperl-cvs-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@perl.apache.org Delivered-To: mailing list modperl-cvs@perl.apache.org Received: (qmail 52644 invoked by uid 500); 7 Mar 2003 05:14:44 -0000 Delivered-To: apmail-modperl-docs-cvs@apache.org Date: 7 Mar 2003 05:14:42 -0000 Message-ID: <20030307051442.907.qmail@icarus.apache.org> From: stas@apache.org To: modperl-docs-cvs@apache.org Subject: cvs commit: modperl-docs/src/docs/2.0/user/compat compat.pod X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N stas 2003/03/06 21:14:42 Modified: src/docs/2.0/user/compat compat.pod Log: finish off the registry porting section Revision Changes Path 1.53 +21 -7 modperl-docs/src/docs/2.0/user/compat/compat.pod Index: compat.pod =================================================================== RCS file: /home/cvs/modperl-docs/src/docs/2.0/user/compat/compat.pod,v retrieving revision 1.52 retrieving revision 1.53 diff -u -r1.52 -r1.53 --- compat.pod 7 Mar 2003 04:40:03 -0000 1.52 +++ compat.pod 7 Mar 2003 05:14:42 -0000 1.53 @@ -177,7 +177,7 @@ ---------------- use Apache2; # if you have 1.0 and 2.0 installed use Apache::compat (); - use lib ...; # to find 1.0x Apache::Registry + #use lib ...; # to find 1.0x Apache::Registry then in I: @@ -192,11 +192,24 @@ Notice that C has to be loaded before C if the latter module is used. -META: complete +The only reason you may want to use C with mp2 is +that because at this moment C (and others) doesn't +C into the script's dir like Apache::Registry does, because +C affects the whole process under threads. This should be +resolved by the time mod_perl 2.0 is released. But for now you can use +C. However you will have problems if you are using +anything but the preforked MPM, the main reason why +C doesn't C. + +Otherwise C modules are configured and used +similarly to C modules. Refer to one of the +following manpages for more information: +C>, +C>, +C> +and +C>. -META: document that for now ModPerl::Registry doesn't chdir() into the -script's dir like Apache::Registry does, because chdir() affects the -whole process under threads. =head2 C @@ -204,8 +217,9 @@ In mod_perl 1.0 it was only possible to preload scripts as C handlers. In 2.0 the loader can use any of the registry classes to preload into. The old API works as before, but new -options can be passed. See the I> manpage -for more information. +options can be passed. See the +C> +manpage for more information. =head1 C