1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml">
6 <meta name="generator" content="HTML Tidy, see www.w3.org" />
8 <title>Filters - Apache HTTPD</title>
10 <!-- Background white, links blue (unvisited), navy (visited), red (active) -->
12 <body bgcolor="#FFFFFF" text="#000000" link="#0000FF"
13 vlink="#000080" alink="#FF0000">
14 <!--#include virtual="header.html" -->
16 <h1 align="CENTER">Filters</h1>
20 <td valign="top"><strong>Related Modules</strong><br />
22 <a href="mod/mod_deflate.html">mod_deflate</a><br />
23 <a href="mod/mod_ext_filter.html">mod_ext_filter</a><br />
24 <a href="mod/mod_include.html">mod_include</a><br />
27 <td valign="top"><strong>Related Directives</strong><br />
30 href="mod/mod_mime.html#addinputfilter">AddInputFilter</a><br />
32 href="mod/mod_mime.html#addoutputfilter">AddOutputFilter</a><br />
34 href="mod/mod_ext_filter.html#extfilterdefine">ExtFilterDefine</a><br />
36 href="mod/mod_ext_filter.html#extfilteroptions">ExtFilterOptions</a><br />
38 href="mod/core.html#setinputfilter">SetInputFilter</a><br />
40 href="mod/core.html#setoutputfilter">SetOutputFilter</a><br />
45 <p>A <em>filter</em> is a process that is applied to data that
46 is sent or received by the server. Data sent by clients to the
47 server is processed by <em>input filters</em> while data sent
48 by the server to the client is processed by <em>output
49 filters</em>. Multiple filters can be applied to the data, and
50 the order of the filters can be explicitly specified.</p>
52 <p>Filters are used internally by Apache to perform functions such
53 as chunking and byte-range request handling. In addition, modules
54 can provide filters that are selectable using run-time
55 configuration directives. The set of filters that apply to data
56 can be manipulated with the <code>SetInputFilter</code>,
57 <code>SetOutputFilter</code>, <code>AddInputFilter</code>, and
58 <code>AddOutputFilter</code> directives.</p>
60 <p>The following user-selectable filters are currently provided
61 with the Apache HTTP Server distribution.</p>
64 <dt>INCLUDES</dt> <dd>Server-Side Includes processing by <a
65 href="mod/mod_include.html">mod_include</a></dd>
66 <dt>DEFLATE</dt> <dd>Compress output before sending it to
67 the client using <a href="mod/mod_deflate.html">mod_deflate</a></dd>
70 <p>In addition, the module <a
71 href="mod/mod_ext_filter.html">mod_ext_filter</a> allows
72 for external programs to be defined as filters.</p>
74 <!--#include virtual="footer.html" -->