perl-docs-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject cvs commit: modperl-docs/src/docs/2.0/user/handlers filters.pod
Date Mon, 09 Feb 2004 18:22:49 GMT
stas        2004/02/09 10:22:49

  Modified:    src/docs/2.0/user/handlers filters.pod
  Log:
  filter handlers are now always AutoLoaded
  
  Revision  Changes    Path
  1.35      +18 -3     modperl-docs/src/docs/2.0/user/handlers/filters.pod
  
  Index: filters.pod
  ===================================================================
  RCS file: /home/cvs/modperl-docs/src/docs/2.0/user/handlers/filters.pod,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -u -r1.34 -r1.35
  --- filters.pod	16 Sep 2003 20:59:24 -0000	1.34
  +++ filters.pod	9 Feb 2004 18:22:49 -0000	1.35
  @@ -653,9 +653,10 @@
   whereas the C<INCLUDES> filter is of type C<AP_FTYPE_RESOURCE> (10).
   
   As of this writing mod_perl provides two kind of filters with fixed
  -priority type:
  +priority type (the type is defined by L<the filter handler's
  +attribute|/HTTP_Request_vs__Connection_Filters>):
   
  -  Handler                  Priority           Value
  +  Handler's Attribute      Priority           Value
     -------------------------------------------------
     FilterRequestHandler     AP_FTYPE_RESOURCE    10
     FilterConnectionHandler  AP_FTYPE_PROTOCOL    30
  @@ -680,6 +681,18 @@
   The handler's configuration scope is
   C<L<DIR|docs::2.0::user::config::config/item_DIR>>.
   
  +C<PerlInputFilterHandler> handlers are automatically
  +C<L<AutoLoad|docs::2.0::user::config::config/C_AutoLoad_>>ed, since
  +they need to be compiled before L<the filter
  +attributes|/HTTP_Request_vs__Connection_Filters> can be accessed.
  +Therefore if the filter handler subroutine is not called C<handler>,
  +you must preload the module containing the filter subroutine at the
  +server startup. A filter handler can be configured not to be
  +C<L<AutoLoad|docs::2.0::user::config::config/C_AutoLoad_>>ed, using
  +the C<-> prefix. For example:
  +
  +  PerlInputFilterHandler -MyApache::FilterTest::lc
  +
   The following sections include several examples that use the
   C<PerlInputFilterHandler> handler.
   
  @@ -698,7 +711,9 @@
   The following sections include several examples that use the
   C<PerlOutputFilterHandler> handler.
   
  -
  +Similar to C<L<PerlInputFilterHandler|/C_PerlInputFilterHandler_>>
  +C<PerlOutputFilterHandler> handlers are automatically
  +C<L<AutoLoad|docs::2.0::user::config::config/C_AutoLoad_>>ed.
   
   
   =head2 C<PerlSetInputFilter>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-cvs-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-cvs-help@perl.apache.org


Mime
View raw message