stas 2003/04/28 20:06:59
Modified: src/docs/2.0/user/porting compat.pod
Log:
explain that the example is an authen phase handler
Revision Changes Path
1.6 +6 -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.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- compat.pod 29 Apr 2003 02:54:54 -0000 1.5
+++ compat.pod 29 Apr 2003 03:06:59 -0000 1.6
@@ -406,9 +406,14 @@
during the response phase
(C<L<PerlResponseHandler|docs::2.0::user::handlers::http/PerlResponseHandler>>).
Other
phases can make C<Apache-E<gt>request> available, by explicitly
-setting it in the handler that has an access to C<$r>. For example:
+setting it in the handler that has an access to C<$r>. For example the
+following skeleton for an I<authen> phase handler makes the
+C<Apache-E<gt>request> available in the calls made from it:
package MyApache::Auth;
+
+ # PerlAuthenHandler MyApache::Auth
+
use Apache::RequestUtil ();
#...
sub handler {
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]