stas 2003/07/30 04:26:17
Modified: src/docs/2.0/user/porting compat.pod
Log:
correction
Revision Changes Path
1.17 +1 -23 modperl-docs/src/docs/2.0/user/porting/compat.pod
Index: compat.pod
===================================================================
RCS file: /home/cvs/modperl-docs/src/docs/2.0/user/porting/compat.pod,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- compat.pod 30 Jul 2003 09:53:49 -0000 1.16
+++ compat.pod 30 Jul 2003 11:26:17 -0000 1.17
@@ -175,28 +175,6 @@
namespace, similar to C<APR::> and C<Apache::> which are used for apr
and apache features, respectively.
-To run the C<Apache::Registry> module from mod_perl 1.0 you have to
-load C<Apache::compat> at the startup:
-
- file:startup.pl:
- ----------------
- use Apache2; # if you have 1.0 and 2.0 installed
- use Apache::compat ();
- #use lib ...; # to find 1.0x Apache::Registry
-
-then in I<httpd.conf>:
-
- Alias /perl /path/to/perl/scripts
- <Location /perl>
- SetHandler perl-script
- PerlResponseHandler Apache::Registry
- Options +ExecCGI
- PerlOptions +ParseHeaders
- </Location>
-
-Notice that C<Apache::compat> has to be loaded before C<CGI.pm> if the
-latter module is used.
-
At this moment C<ModPerl::Registry> (and others) doesn't C<chdir()>
into the script's dir like C<Apache::Registry> does, because
C<chdir()> affects the whole process under threads. This should be
@@ -243,7 +221,7 @@
Alias /perl /path/to/perl/scripts
<Location /perl>
SetHandler perl-script
- PerlResponseHandler Apache::RegistryPrefork
+ PerlResponseHandler ModPerl::RegistryPrefork
Options +ExecCGI
PerlOptions +ParseHeaders
</Location>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]