sbekman 01/08/01 21:38:12
Modified: pod modperl_dev.pod
todo possible_new_features.txt
Log:
document the issue with Apache::compat and CGI.pm
Revision Changes Path
1.31 +20 -0 modperl-2.0/pod/modperl_dev.pod
Index: modperl_dev.pod
===================================================================
RCS file: /home/cvs/modperl-2.0/pod/modperl_dev.pod,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- modperl_dev.pod 2001/07/20 01:48:11 1.30
+++ modperl_dev.pod 2001/08/02 04:38:11 1.31
@@ -580,7 +580,27 @@
=back
+=head1 mod_perl 1.x Compatibility
+C<Apache::compat> provides mod_perl 1.x compatibility feature, which
+allows C<Apache::Registry> from mod_perl 1.x to be used:
+
+ startup.pl:
+ -----------
+ use Apache::compat ();
+ use lib ...; #or something to find 1.xx Apache::Registry
+
+then in I<httpd.conf>:
+
+ Alias /perl /path/to/perl/scripts
+ <Location /perl>
+ Options +ExecCGI
+ SetHandler modperl
+ PerlResponseHandler Apache::Registry
+ </Location>
+
+Notice that C<Apache::compat> has to be loaded before C<CGI.pm> if the
+latter module is used.
=head1 Submitting Patches
1.4 +11 -0 modperl-2.0/todo/possible_new_features.txt
Index: possible_new_features.txt
===================================================================
RCS file: /home/cvs/modperl-2.0/todo/possible_new_features.txt,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- possible_new_features.txt 2001/05/08 22:26:00 1.3
+++ possible_new_features.txt 2001/08/02 04:38:12 1.4
@@ -65,6 +65,17 @@
- core Apache::SubProcess w/ proper CORE::GLOBAL::{fork,exec} support
+- Apache::compat has to be loaded before CGI.pm, other than
+ documenting this issue, it's possible that we will add:
+
+ #ifdef MP_APACHE_COMPAT
+ modperl_require_module("Apache::compat");
+ #endif
+
+ if MP_APACHE_COMPAT Makefile.PL option is true, but this carries a
+ performance hit, so this is just an option.
+
+
new modules:
-----------