filter.html revision cdfa0223c540c064b8c3cf85f25dd72dd136c6e8
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
ab2c1c1c83ec91415565da5a71fbc15d9685caa6fielding<HTML>
ab2c1c1c83ec91415565da5a71fbc15d9685caa6fielding<HEAD>
ab2c1c1c83ec91415565da5a71fbc15d9685caa6fielding<TITLE>Filters - Apache HTTPD</TITLE>
ab2c1c1c83ec91415565da5a71fbc15d9685caa6fielding</HEAD>
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding<!-- Background white, links blue (unvisited), navy (visited), red (active) -->
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding<BODY
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding BGCOLOR="#FFFFFF"
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding TEXT="#000000"
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding LINK="#0000FF"
ab2c1c1c83ec91415565da5a71fbc15d9685caa6fielding VLINK="#000080"
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding ALINK="#FF0000"
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding>
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding<!--#include virtual="header.html" -->
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding<H1 ALIGN="CENTER">Filters</H1>
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding<table border="1">
ab2c1c1c83ec91415565da5a71fbc15d9685caa6fielding<tr><td valign="top">
ab2c1c1c83ec91415565da5a71fbc15d9685caa6fielding<strong>Related Modules</strong><br><br>
ab2c1c1c83ec91415565da5a71fbc15d9685caa6fielding
ab2c1c1c83ec91415565da5a71fbc15d9685caa6fielding<a href="mod/mod_ext_filter.html">mod_ext_filter</a><br>
ab2c1c1c83ec91415565da5a71fbc15d9685caa6fielding<A HREF="mod/mod_include.html">mod_include</A><br>
ab2c1c1c83ec91415565da5a71fbc15d9685caa6fielding</td>
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding<td valign="top">
ab2c1c1c83ec91415565da5a71fbc15d9685caa6fielding<strong>Related Directives</strong><br><br>
ab2c1c1c83ec91415565da5a71fbc15d9685caa6fielding
ab2c1c1c83ec91415565da5a71fbc15d9685caa6fielding<a href="mod/mod_mime.html#addinputfilter">AddInputFilter</a><br>
ab2c1c1c83ec91415565da5a71fbc15d9685caa6fielding<a href="mod/mod_mime.html#addoutputfilter">AddOutputFilter</a><br>
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding<a href="mod/mod_ext_filter.html#extfilterdefine">ExtFilterDefine</a></br>
ab2c1c1c83ec91415565da5a71fbc15d9685caa6fielding<a href="mod/mod_ext_filter.html#extfilteroptions">ExtFilterOptions</a><br>
ab2c1c1c83ec91415565da5a71fbc15d9685caa6fielding<a href="mod/core.html#setinputfilter">SetInputFilter</a><br>
64185f9824e42f21ca7b9ae6c004484215c031a7rbb<a href="mod/core.html#setoutputfilter">SetOutputFilter</a><br>
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding</td>
ab2c1c1c83ec91415565da5a71fbc15d9685caa6fielding</tr></table>
ab2c1c1c83ec91415565da5a71fbc15d9685caa6fielding
ab2c1c1c83ec91415565da5a71fbc15d9685caa6fielding<p>A <em>filter</em> is a process which is applied to data that is
ab2c1c1c83ec91415565da5a71fbc15d9685caa6fieldingsent or received by the server. Data sent by clients to the server
0f081398cf0eef8cc7c66a535d450110a92dc8aefieldingis processed by <em>input filters</em> while data sent by the
ab2c1c1c83ec91415565da5a71fbc15d9685caa6fieldingserver to the client is processed by <em>output filters</em>.
ab2c1c1c83ec91415565da5a71fbc15d9685caa6fieldingMultiple filters can be applied to the data, and the order
ab2c1c1c83ec91415565da5a71fbc15d9685caa6fieldingof the filters can be explicitly specified.</p>
ab2c1c1c83ec91415565da5a71fbc15d9685caa6fielding
ab2c1c1c83ec91415565da5a71fbc15d9685caa6fielding<p>Filters are used internally by Apache to perform functions such as
ab2c1c1c83ec91415565da5a71fbc15d9685caa6fieldingchunking and byte-range request handling. In addition, modules can
ab2c1c1c83ec91415565da5a71fbc15d9685caa6fieldingprovide filters which are selectable using run-time configuration
0f081398cf0eef8cc7c66a535d450110a92dc8aefieldingdirectives. The set of filters which apply to data can be manipulated
0f081398cf0eef8cc7c66a535d450110a92dc8aefieldingwith the <code>SetInputFilter</code> and <code>SetOutputFilter</code>
0f081398cf0eef8cc7c66a535d450110a92dc8aefieldingdirectives.</p>
ab2c1c1c83ec91415565da5a71fbc15d9685caa6fielding
ab2c1c1c83ec91415565da5a71fbc15d9685caa6fielding<p>The only configurable filter currently included with the Apache
ab2c1c1c83ec91415565da5a71fbc15d9685caa6fieldingdistribution is the <code>INCLUDES</code> filter which is provided by
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding<a href="mod/mod_include.html">mod_include</a> to process output for
ab2c1c1c83ec91415565da5a71fbc15d9685caa6fieldingServer Side Includes. There is also an experimental module called <a
ab2c1c1c83ec91415565da5a71fbc15d9685caa6fieldinghref="mod/mod_ext_filter.html">mod_ext_filter</a> which allows for
ab2c1c1c83ec91415565da5a71fbc15d9685caa6fieldingexternal programs to be defined as filters.</p>
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding<!--#include virtual="footer.html" -->
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding</BODY>
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding</HTML>
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding