]> granicus.if.org Git - apache/blob - docs/manual/filter.html.en
b8ff31a53ec800d0602326609e7e5a28c8ab0f78
[apache] / docs / manual / filter.html.en
1 <html xmlns="http://www.w3.org/TR/xhtml1/strict"><head><!--
2         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
3               This file is generated from xml source: DO NOT EDIT
4         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
5       --><title>Filters - Apache HTTP Server</title><link href="./style/manual.css" type="text/css" rel="stylesheet"/></head><body><blockquote><div align="center"><img src="./images/sub.gif" alt="[APACHE DOCUMENTATION]"/><h3>Apache HTTP Server Version 2.0</h3></div><h1 align="center">Filters</h1>
6     <p>This document describes the use of filters in Apache.</p>
7   <hr/><h2><a name="filters">Filters</a></h2>
8     
9     <table border="1"><tr><td valign="top"><strong>Related Modules</strong><br/><br/><code><a href="./mod/mod_deflate.html">mod_deflate</a></code><br/><code><a href="./mod/mod_ext_filter.html">mod_ext_filter</a></code><br/><code><a href="./mod/mod_include.html">mod_include</a></code><br/></td><td valign="top"><strong>Related Directives</strong><br/><br/><a href="./mod/mod_mime.html#addinputfilter" class="directive"><code class="directive">AddInputFilter</code></a><br/><a href="./mod/mod_mime.html#addoutputfilter" class="directive"><code class="directive">AddOutputFilter</code></a><br/><a href="./mod/mod_ext_filter.html#extfilterdefine" class="directive"><code class="directive">ExtFilterDefine</code></a><br/><a href="./mod/mod_ext_filter.html#extfilteroptions" class="directive"><code class="directive">ExtFilterOptions</code></a><br/><a href="./mod/core.html.html#setinputfilter" class="directive"><code class="directive">SetInputFilter</code></a><br/><a href="./mod/core.html.html#setoutputfilter" class="directive"><code class="directive">SetOutputFilter</code></a><br/></td></tr></table>
10     
11     <p>A <em>filter</em> is a process that is applied to data that
12     is sent or received by the server. Data sent by clients to the
13     server is processed by <em>input filters</em> while data sent
14     by the server to the client is processed by <em>output
15     filters</em>. Multiple filters can be applied to the data, and
16     the order of the filters can be explicitly specified.</p>
17
18     <p>Filters are used internally by Apache to perform functions such
19     as chunking and byte-range request handling. In addition, modules
20     can provide filters that are selectable using run-time
21     configuration directives. The set of filters that apply to data
22     can be manipulated with the <a href="./mod/core.html.html#setinputfilter" class="directive"><code class="directive">SetInputFilter</code></a>, <a href="./mod/core.html.html#setoutputfilter" class="directive"><code class="directive">SetOutputFilter</code></a>, <a href="./mod/mod_mime.html#addinputfilter" class="directive"><code class="directive">AddInputFilter</code></a>, and <a href="./mod/mod_mime.html#addoutputfilter" class="directive"><code class="directive">AddOutputFilter</code></a> directives.</p>
23
24     <p>The following user-selectable filters are currently provided
25     with the Apache HTTP Server distribution.</p>
26
27     <dl>
28       <dt>INCLUDES</dt>
29       <dd>Server-Side Includes processing by <code><a href="./mod/mod_include.html">mod_include</a></code></dd>
30       <dt>DEFLATE</dt>
31       <dd>Compress output before sending it to the client using <code><a href="./mod/mod_include.html">mod_include</a></code></dd>
32     </dl>
33
34     <p>In addition, the module <code><a href="./mod/mod_ext_filter.html">mod_ext_filter</a></code> allows
35     for external programs to be defined as filters.</p>
36   <hr/></blockquote><h3 align="center">Apache HTTP Server Version 2.0</h3><a href="./"><img src="./images/index.gif" alt="Index"/></a><a href="./"><img src="./images/home.gif" alt="Home"/></a></body></html>