filter.html revision 41d9f2c51bb4b760e42f52a7e7962e5004a05c6c
183N/A<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2362N/A "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
268N/A
268N/A<html xmlns="http://www.w3.org/1999/xhtml">
268N/A <head>
268N/A <meta name="generator" content="HTML Tidy, see www.w3.org" />
2362N/A
268N/A <title>Filters - Apache HTTPD</title>
2362N/A </head>
268N/A <!-- Background white, links blue (unvisited), navy (visited), red (active) -->
268N/A
268N/A <body bgcolor="#FFFFFF" text="#000000" link="#0000FF"
268N/A vlink="#000080" alink="#FF0000">
268N/A <!--#include virtual="header.html" -->
268N/A
268N/A <h1 align="CENTER">Filters</h1>
268N/A
268N/A <table border="1">
268N/A <tr>
268N/A <td valign="top"><strong>Related Modules</strong><br />
2362N/A <br />
2362N/A <a href="mod/mod_deflate.html">mod_defalte</a><br />
2362N/A <a href="mod/mod_ext_filter.html">mod_ext_filter</a><br />
183N/A <a href="mod/mod_include.html">mod_include</a><br />
183N/A </td>
183N/A
183N/A <td valign="top"><strong>Related Directives</strong><br />
183N/A <br />
183N/A <a
183N/A href="mod/mod_mime.html#addinputfilter">AddInputFilter</a><br />
183N/A <a
183N/A href="mod/mod_mime.html#addoutputfilter">AddOutputFilter</a><br />
183N/A <a
183N/A href="mod/mod_ext_filter.html#extfilterdefine">ExtFilterDefine</a><br />
183N/A <a
183N/A href="mod/mod_ext_filter.html#extfilteroptions">ExtFilterOptions</a><br />
183N/A <a
183N/A href="mod/core.html#setinputfilter">SetInputFilter</a><br />
183N/A <a
183N/A href="mod/core.html#setoutputfilter">SetOutputFilter</a><br />
183N/A </td>
183N/A </tr>
183N/A </table>
183N/A
183N/A <p>A <em>filter</em> is a process that is applied to data that
183N/A is sent or received by the server. Data sent by clients to the
183N/A server is processed by <em>input filters</em> while data sent
183N/A by the server to the client is processed by <em>output
183N/A filters</em>. Multiple filters can be applied to the data, and
183N/A the order of the filters can be explicitly specified.</p>
183N/A
<p>Filters are used internally by Apache to perform functions such
as chunking and byte-range request handling. In addition, modules
can provide filters that are selectable using run-time
configuration directives. The set of filters that apply to data
can be manipulated with the <code>SetInputFilter</code>,
<code>SetOutputFilter</code>, <code>AddInputFilter</code>, and
<code>AddOutputFilter</code> directives.</p>
<p>The following user-selectable filters are currently provided
with the Apache HTTP Server distribution.</p>
<dl>
<dt>INCLUDES</dt> <dd>Server-Side Includes processing by <a
href="mod/mod_include.html">mod_include</dd>
<dt>DEFLATE</dt> <dd>Compress output before sending it to
the client using <a href="mod/mod_deflate.html">mod_deflate</a></dd>
</dl>
<p>In addition, the module <a
href="mod/mod_ext_filter.html">mod_ext_filter</a> allows
for external programs to be defined as filters.</p>
<!--#include virtual="footer.html" -->
</body>
</html>