stas 2004/03/03 15:37:20
Modified: src/docs/2.0/user/porting compat.pod
Log:
a better explanation
Revision Changes Path
1.44 +10 -1 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.43
retrieving revision 1.44
diff -u -u -r1.43 -r1.44
--- compat.pod 3 Mar 2004 23:33:53 -0000 1.43
+++ compat.pod 3 Mar 2004 23:37:20 -0000 1.44
@@ -402,7 +402,16 @@
=head2 C<$ENV{GATEWAY_INTERFACE}>
The environment variable C<$ENV{GATEWAY_INTERFACE}> is not special in
-mod_perl 2.0, but the same as any other CGI environment variables.
+mod_perl 2.0, but the same as any other CGI environment variables,
+i.e. it'll be enabled only if C<L<PerlOptions
++SetupEnv|docs::2.0::user::config::config/C_SetupEnv_>> is enabled and
+its value would be the default:
+
+ CGI/1.1
+
+or anything else Apache decides to set it to, but not:
+
+ CGI-Perl/1.1
Instead use C<$ENV{MOD_PERL}> (available in both mod_perl
generations), which is set to the mod_perl version, like so:
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]