filter.html.en revision 6f08220596b6ff0bac5c7b6dfd4a7eff0b9eccc9
1ffad0b9e645e3d784e55b63f972293da99d81a7gryzor<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1ffad0b9e645e3d784e55b63f972293da99d81a7gryzor<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
a99c5d4cc3cab6a62b04d52000dbc22ce1fa2d94coar XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1ffad0b9e645e3d784e55b63f972293da99d81a7gryzor This file is generated from xml source: DO NOT EDIT
1ffad0b9e645e3d784e55b63f972293da99d81a7gryzor XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1ffad0b9e645e3d784e55b63f972293da99d81a7gryzor --><title>Filters - Apache HTTP Server</title><link href="/style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /><link href="/images/favicon.ico" rel="shortcut icon" /></head><body id="manual-page"><div id="page-header"><p class="menu"><a href="/mod/">Modules</a> | <a href="/mod/directives.html">Directives</a> | <a href="/faq/">FAQ</a> | <a href="/glossary.html">Glossary</a> | <a href="/sitemap.html">Sitemap</a></p><p class="apache">Apache HTTP Server Version 2.0</p><img alt="" src="/images/feather.gif" /></div><div class="up"><a href="./"><img title="<-" alt="<-" src="/images/left.gif" /></a></div><div id="path"><a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs-project/">Documentation</a> > <a href="./">Version 2.0</a></div><div id="page-content"><div id="preamble"><h1>Filters</h1>
1ffad0b9e645e3d784e55b63f972293da99d81a7gryzor <p>This document describes the use of filters in Apache.</p>
1ffad0b9e645e3d784e55b63f972293da99d81a7gryzor </div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div><div class="section"><h2><a name="filters" id="filters">Filters</a></h2>
1ffad0b9e645e3d784e55b63f972293da99d81a7gryzor <table class="related"><tr><th>Related Modules</th><th>Related Directives</th></tr><tr><td><ul><li><code class="module"><a href="/mod/mod_deflate.html">mod_deflate</a></code></li><li><code class="module"><a href="/mod/mod_ext_filter.html">mod_ext_filter</a></code></li><li><code class="module"><a href="/mod/mod_include.html">mod_include</a></code></li></ul></td><td><ul><li><code class="directive"><a href="/mod/mod_mime.html#addinputfilter">AddInputFilter</a></code></li><li><code class="directive"><a href="/mod/mod_mime.html#addoutputfilter">AddOutputFilter</a></code></li><li><code class="directive"><a href="/mod/mod_mime.html#removeinputfilter">RemoveInputFilter</a></code></li><li><code class="directive"><a href="/mod/mod_mime.html#removeoutputfilter">RemoveOutputFilter</a></code></li><li><code class="directive"><a href="/mod/mod_ext_filter.html#extfilterdefine">ExtFilterDefine</a></code></li><li><code class="directive"><a href="/mod/mod_ext_filter.html#extfilteroptions">ExtFilterOptions</a></code></li><li><code class="directive"><a href="/mod/core.html#setinputfilter">SetInputFilter</a></code></li><li><code class="directive"><a href="/mod/core.html#setoutputfilter">SetOutputFilter</a></code></li></ul></td></tr></table>
1ffad0b9e645e3d784e55b63f972293da99d81a7gryzor <p>A <em>filter</em> is a process that is applied to data that
1ffad0b9e645e3d784e55b63f972293da99d81a7gryzor is sent or received by the server. Data sent by clients to the
1ffad0b9e645e3d784e55b63f972293da99d81a7gryzor server is processed by <em>input filters</em> while data sent
1ffad0b9e645e3d784e55b63f972293da99d81a7gryzor by the server to the client is processed by <em>output
1ffad0b9e645e3d784e55b63f972293da99d81a7gryzor filters</em>. Multiple filters can be applied to the data, and
1ffad0b9e645e3d784e55b63f972293da99d81a7gryzor the order of the filters can be explicitly specified.</p>
1ffad0b9e645e3d784e55b63f972293da99d81a7gryzor <p>Filters are used internally by Apache to perform functions such
1ffad0b9e645e3d784e55b63f972293da99d81a7gryzor as chunking and byte-range request handling. In addition, modules
1ffad0b9e645e3d784e55b63f972293da99d81a7gryzor can provide filters that are selectable using run-time
1ffad0b9e645e3d784e55b63f972293da99d81a7gryzor configuration directives. The set of filters that apply to data
1ffad0b9e645e3d784e55b63f972293da99d81a7gryzor can be manipulated with the
1ffad0b9e645e3d784e55b63f972293da99d81a7gryzor <code class="directive"><a href="/mod/core.html#setinputfilter">SetInputFilter</a></code>,
1ffad0b9e645e3d784e55b63f972293da99d81a7gryzor <code class="directive"><a href="/mod/core.html#setoutputfilter">SetOutputFilter</a></code>,
1ffad0b9e645e3d784e55b63f972293da99d81a7gryzor <code class="directive"><a href="/mod/mod_mime.html#addinputfilter">AddInputFilter</a></code>,
fdcdd4e9cdf3f0213c5f63dac906531a1e5707a7lgentis <code class="directive"><a href="/mod/mod_mime.html#addoutputfilter">AddOutputFilter</a></code>,
1ffad0b9e645e3d784e55b63f972293da99d81a7gryzor <code class="directive"><a href="/mod/mod_mime.html#removeinputfilter">RemoveInputFilter</a></code>, and
1ffad0b9e645e3d784e55b63f972293da99d81a7gryzor <code class="directive"><a href="/mod/mod_mime.html#removeoutputfilter">RemoveOutputFilter</a></code>
fdcdd4e9cdf3f0213c5f63dac906531a1e5707a7lgentis directives.</p>
1ffad0b9e645e3d784e55b63f972293da99d81a7gryzor <p>The following user-selectable filters are currently provided
1ffad0b9e645e3d784e55b63f972293da99d81a7gryzor with the Apache HTTP Server distribution.</p>
fdcdd4e9cdf3f0213c5f63dac906531a1e5707a7lgentis <dd>Server-Side Includes processing by <code class="module"><a href="/mod/mod_include.html">mod_include</a></code></dd>
fdcdd4e9cdf3f0213c5f63dac906531a1e5707a7lgentis <dd>Compress output before sending it to the client using
fdcdd4e9cdf3f0213c5f63dac906531a1e5707a7lgentis <code class="module"><a href="/mod/mod_deflate.html">mod_deflate</a></code>
1ffad0b9e645e3d784e55b63f972293da99d81a7gryzor <p>In addition, the module <code class="module"><a href="/mod/mod_ext_filter.html">mod_ext_filter</a></code> allows
fdcdd4e9cdf3f0213c5f63dac906531a1e5707a7lgentis for external programs to be defined as filters.</p>
1ffad0b9e645e3d784e55b63f972293da99d81a7gryzor </div></div><div id="footer"><p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p><p class="menu"><a href="/mod/">Modules</a> | <a href="/mod/directives.html">Directives</a> | <a href="/faq/">FAQ</a> | <a href="/glossary.html">Glossary</a> | <a href="/sitemap.html">Sitemap</a></p></div></body></html>