stas 2003/02/12 15:51:01
Modified: src/docs/2.0/user/compat compat.pod
Log:
document the new Apache::compat methods:
$connection->auth_type
$connection->user
Revision Changes Path
1.43 +18 -1 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.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- compat.pod 29 Jan 2003 07:18:33 -0000 1.42
+++ compat.pod 12 Feb 2003 23:51:00 -0000 1.43
@@ -617,8 +617,25 @@
supported. For a complete info on these see
I<modules/http/http_protocol.c>.
+=head1 C<Apache::Connection>
-=head1 Apache::File
+=head2 C<$connection-E<gt>auth_type>
+
+The record I<auth_type> doesn't exist in the Apache 2.0's connection
+struct. It exists only in the request record struct.
+C<Apache::compat> provides a back compatibility method, though it
+relies on the availability of the global C<Apache-E<gt>request>, which
+requires the configuration to have:
+
+ PerlOptions +GlobalRequest
+
+to set it up for earlier stages than response handler.
+
+=head2 C<$connection-E<gt>user>
+
+See C<L<$connection-E<gt>auth_type|/C__connection_E_gt_auth_type_>>.
+
+=head1 C<Apache::File>
The methods from mod_perl 1.0's module C<Apache::File> have been
either moved to other packages or removed.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]