stas 2003/03/12 16:26:40
Modified: src/docs/2.0/user/compat compat.pod
Log:
move the env vars issues together
Revision Changes Path
1.58 +17 -15 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.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- compat.pod 12 Mar 2003 06:37:07 -0000 1.57
+++ compat.pod 13 Mar 2003 00:26:40 -0000 1.58
@@ -222,20 +222,6 @@
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>
@@ -302,7 +288,7 @@
needed.
-=head1 Environment Variables
+=head1 Issues with Environment Variables
There are several thread-safety issues with setting environment
variables.
@@ -314,6 +300,22 @@
Forked processes (including backticks) won't see CGI emulation
environment variables. (META: This will hopefully be resolved in the
future, it's documented in modperl_env.c:modperl_env_magic_set_all.)
+
+=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::> Methods