perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject cvs commit: modperl-docs/src/docs/2.0/user/compat compat.pod
Date Tue, 11 Mar 2003 03:11:01 GMT
stas        2003/03/10 19:11:01

  Modified:    src/docs/2.0/user/compat compat.pod
  Log:
  $ENV{GATEWAY_INTERFACE} is deprecated
  
  Revision  Changes    Path
  1.56      +15 -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.55
  retrieving revision 1.56
  diff -u -r1.55 -r1.56
  --- compat.pod	10 Mar 2003 01:24:11 -0000	1.55
  +++ compat.pod	11 Mar 2003 03:11:01 -0000	1.56
  @@ -222,6 +222,21 @@
   C<L<ModPerl::RegistryLoader|docs::2.0::api::ModPerl::RegistryLoader>>
   manpage for more information.
   
  +=head1 Special Environment Variables
  +
  +=head2 C<$ENV{GATEWAY_INTERFACE}>
  +
  +The environment variable C<$ENV{GATEWAY_INTERFACE}> is deprecated in
  +mod_perl 2.0. Instead use C<$ENV{MOD_PERL}>, which is set to something
  +like this:
  +
  +  mod_perl/1.99_03-dev
  +
  +However to check the version it's better to use C<$mod_perl::VERSION>:
  +
  +  use mod_perl;
  +  use constant MP2 => ($mod_perl::VERSION >= 1.99);
  +
   
   =head1 C<Apache::Constants>
   
  
  
  

Mime
View raw message