stas        01/12/27 03:35:22

  Modified:    src/docs/2.0/user/compat compat.pod
  Log:
  how to run the 1.x registry (ported from modperl_dev.pod)
  
  Revision  Changes    Path
  1.5       +19 -0     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.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- compat.pod        2001/12/21 15:24:35     1.4
  +++ compat.pod        2001/12/27 11:35:22     1.5
  @@ -98,6 +98,25 @@
   C<Apache::Registry> and C<Apache::PerlRun> now live in the
   C<ModPerl::> namespace to avoid collisions with the versions from 1.x.
   
  +To run the 1.x C<Apache::Registry> you have to load C<Apache::compat>:
  +
  +  file: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.
  +
   META: complete
   
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to