stas 2004/09/13 14:02:00 Modified: src/docs/2.0/api/Apache CmdParms.pod Log: minor tweaks Revision Changes Path 1.12 +12 -8 modperl-docs/src/docs/2.0/api/Apache/CmdParms.pod Index: CmdParms.pod =================================================================== RCS file: /home/cvs/modperl-docs/src/docs/2.0/api/Apache/CmdParms.pod,v retrieving revision 1.11 retrieving revision 1.12 diff -u -u -r1.11 -r1.12 --- CmdParms.pod 13 Sep 2004 20:43:33 -0000 1.11 +++ CmdParms.pod 13 Sep 2004 21:02:00 -0000 1.12 @@ -125,7 +125,7 @@ =back For example here is how to check whether a command is allowed in the -E<lt>LocationE<gt> container: +C<E<lt>LocationE<gt>> container: use Apache::Const -compile qw(NOT_IN_LOCATION); if (my $error = $parms->check_cmd_context(Apache::NOT_IN_LOCATION)) { @@ -169,7 +169,7 @@ =item obj: C<$parms> ( C<L<Apache::CmdParms object|docs::2.0::api::Apache::CmdParms>> ) -=item ret: C<$newval> +=item ret: C<$directive> ( C<L<Apache::Directive object|docs::2.0::api::Apache::Directive>> ) The current directive node in the configuration tree @@ -185,8 +185,8 @@ =head2 C<info> -The extra information passed thru C<cmd_data> in -C<L<@APACHE_MODULE_COMMANDS|docs::2.0::user::config::custom/C_cmd_data_>> +The extra information passed through C<cmd_data> in +C<L<@APACHE_MODULE_COMMANDS|docs::2.0::user::config::custom/C_cmd_data_>>. $info = $parms->info; @@ -229,8 +229,8 @@ =back -For example, to check if the C<GET> method is being E<lt>LimitE<gt>ed -in the current scope, do: +For example, to check if the C<GET> method is being +C<E<lt>LimitE<gt>>ed in the current scope, do: if ($parms->method_is_limited('GET') { die "..."; @@ -290,7 +290,7 @@ =item obj: C<$parms> ( C<L<Apache::CmdParms object|docs::2.0::api::Apache::CmdParms>> ) -=item ret: C<$path> ( string / undef ) +=item ret: C<$path> ( string / C<undef> ) If configuring for a block like E<lt>LocationE<gt>, E<lt>LocationMatchE<gt>, E<lt>DirectoryE<gt>, etc., the pathname part @@ -300,9 +300,13 @@ =back +For example for a container definition: + <Location /foo> + ... + </Location> - +I<'/foo'> will be returned.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]