Practical mod_perl / HTML Book / books


previous page: B.15.2. Apache::Clean—mod_perl Interface Into HTML::Cleanpage up: HTML Version of the booknext page: B.15.4. Apache::GzipChain—Compress HTML (or Anything) in the OutputChain

B.15.3. Apache::Filter—Alter the Output of Previous Handlers


Search







modperlbook.org


 HTML Book


 PDF Book


 Download Code


 Table of Contents


 Errata


 mod_perl2 User's Guide


 Sitemap





Add to Google



Creative Commons License


Written by
Eric Cholet (Logilune)
and Stas Bekman (StasoSphere).

Hosted by ibiblio.org.



In the following configuration:

<Files ~ "*\.fltr">
    SetHandler perl-script
    PerlSetVar Filter On
    PerlHandler Filter1 Filter2 Filter3
</Files>

each of the handlers Filter1, Filter2, and Filter3 will make a call to $r->filter_input( ), which will return a file handle. For Filter1, the file handle points to the requested file. For Filter2, the file handle contains whatever Filter1 wrote to STDOUT. For Filter3, it contains whatever Filter2 wrote to STDOUT. The output of Filter3 goes directly to the browser.

Available from CPAN. See the module manpage for more information.

 

Continue to:

  • prev: B.15.2. Apache::Clean—mod_perl Interface Into HTML::Clean
  • Table of Contents
  • next: B.15.4. Apache::GzipChain—Compress HTML (or Anything) in the OutputChain

Tags

mod_perl, modperl, Apache, perl, cgi, html, mod_perl, e-commerce, scalability, free, open source, OSS, apache, squid, high availability, modperl, linux, unix, Web, www, mod_perl, webserver, admin, apache, book, webmaster, tools, modperl, guide, docs, documentation, help, mod_perl, perl, information, apache, script, errata, eric cholet, perl, apache, mod-perl, stas bekman, mod_perl, cool, perl, Apache, performance, speed, choice




Other projects to check out: meta-religion.com is for those interested in Religious, Spiritual and Esoteric Phenomena. i-want-a-better.com is a community of people discussing what they would like to be improved in their lives and things they use and interact with. You may also want to find a healer in your area or read articles on variety of topics.






TOP
previous page: B.15.2. Apache::Clean&#8212;mod_perl Interface Into HTML::Cleanpage up: HTML Version of the booknext page: B.15.4. Apache::GzipChain&#8212;Compress HTML (or Anything) in the OutputChain

© 2007 StasoSphere

[ Privacy Policy ] [ Terms of Use ] [ About Authors ] [ Search ]

Last modified Tue Feb 24 12:55:02 2009