IntroductionIntroduction
  CGI and SSICGI and SSI
  <pike> tag<pike> tag
  Pike scriptPike script
  ModulesModules
  Parser modulesParser modules
  Location modulesLocation modules
  Other module typesOther module types
    <Authentification>Authentification<Authentification>Authentification
    <Directory>Directory<Directory>Directory
    <Extension>Extension<Extension>Extension
    <File extension>File extension<File extension>File extension
    <Filter>Filter<Filter>Filter
    <First>First<First>First
    <Last>Last<Last>Last
    <Log>Log<Log>Log
    <Provider>Provider<Provider>Provider
    <URL>URL<URL>URL
  Request information objectRequest information object
  ResponsesResponses
  Library methodsLibrary methods
 
Filter

Filter modules are called for every request, just before the request leaves Challenger. The module type constant is MODULE_FILTER.

mixed filter( mapping response, object id )
The response argument contains the response Challenger were about to send to the browser, id contains the request information object. If the filter module returns zero the original response will be sent. If the filter module returns something else, that response will be sent to the browser instead.