perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject cvs commit: modperl-docs/src/docs/2.0/user/compat compat.pod
Date Fri, 07 Mar 2003 05:14:42 GMT
stas        2003/03/06 21:14:42

  Modified:    src/docs/2.0/user/compat compat.pod
  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<httpd.conf>:
  @@ -192,11 +192,24 @@
   Notice that C<Apache::compat> has to be loaded before C<> if the
   latter module is used.
  -META: complete
  +The only reason you may want to use C<Apache::Registry> with mp2 is
  +that because at this moment C<ModPerl::Registry> (and others) doesn't
  +C<chdir()> into the script's dir like Apache::Registry does, because
  +C<chdir()> 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<Apache::Registry>. However you will have problems if you are using
  +anything but the preforked MPM, the main reason why
  +C<ModPerl::Registry> doesn't C<chdir()>.
  +Otherwise C<ModPerl::Registry> modules are configured and used
  +similarly to C<Apache::Registry> modules. Refer to one of the
  +following manpages for more information:
  -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<ModPerl::RegistryLoader>
  @@ -204,8 +217,9 @@
   In mod_perl 1.0 it was only possible to preload scripts as
   C<Apache::Registry> 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<L<ModPerl::RegistryLoader>> manpage
  -for more information.
  +options can be passed. See the
  +manpage for more information.
   =head1 C<Apache::Constants>

View raw message