Commit 42911722 authored by Joshua Slive's avatar Joshua Slive
Browse files

Remove SetFilter from the mod_mime docs.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88071 13f79535-47bb-0310-9956-ffa450edef68
parent b95c261a
Loading
Loading
Loading
Loading
+13 −66
Original line number Diff line number Diff line
@@ -44,17 +44,19 @@ which determines how the document will be processed within the server.

<P>

The directives <a href="#addcharset">AddCharset</a>,
<A HREF="#addencoding">AddEncoding</A>, <A HREF="#addhandler">AddHandler</A>,
<A HREF="#SetFilter">SetFilter</A>, <A HREF="#addlanguage">AddLanguage</A> 
and <A HREF="#addtype">AddType</A> are all used to map file extensions onto 
the meta-information for that file.  Respectively they set the character set,
content-encoding, handler, content-language, and MIME-type (content-type) of 
documents.  The directive <A HREF="#typesconfig">TypesConfig</A> is used to 
specify a file which also maps extensions onto MIME types. The directives 
<A HREF="#forcetype">ForceType</A> and <A HREF="#sethandler">SetHandler</A> 
are used to associated all the files in a given location (<EM>e.g.</EM>, a 
particular directory) onto a particular MIME type or handler.
The directives <a href="#addcharset">AddCharset</a>, <A
HREF="#addencoding">AddEncoding</A>, <A
HREF="#addhandler">AddHandler</A>, <A
HREF="#addlanguage">AddLanguage</A> and <A HREF="#addtype">AddType</A>
are all used to map file extensions onto the meta-information for that
file.  Respectively they set the character set, content-encoding,
handler, content-language, and MIME-type (content-type) of documents.
The directive <A HREF="#typesconfig">TypesConfig</A> is used to
specify a file which also maps extensions onto MIME types. The
directives <A HREF="#forcetype">ForceType</A> and <A
HREF="#sethandler">SetHandler</A> are used to associated all the files
in a given location (<EM>e.g.</EM>, a particular directory) onto a
particular MIME type or handler.

<P>

@@ -67,7 +69,6 @@ copies may still be used by a client or proxy, with the previous headers.
<li><a href="#addcharset">AddCharset</a></li>
<LI><A HREF="#addencoding">AddEncoding</A>
<LI><A HREF="#addhandler">AddHandler</A>
<LI><A HREF="#setfilter">SetFilter</A>
<LI><A HREF="#addlanguage">AddLanguage</A>
<LI><A HREF="#addtype">AddType</A>
<LI><A HREF="#defaultlanguage">DefaultLanguage</A>
@@ -358,60 +359,6 @@ HREF="./mod_negotiation.html">mod_negotiation</A>

<HR>

<H2><A NAME="setfilter">SetFilter</A> directive</H2>
<!--%plaintext &lt;?INDEX {\tt SetFilter} directive&gt; -->
<A
 HREF="directive-dict.html#Syntax"
 REL="Help"
><STRONG>Syntax:</STRONG></A> SetFilter <em>MIME-type filter</em>
  [<em>filter</em>] ...<br>
<A
 HREF="directive-dict.html#Context"
 REL="Help"
><STRONG>Context:</STRONG></A> server config, virtual host, directory, .htaccess<BR>
<A
 HREF="directive-dict.html#Override"
 REL="Help"
><STRONG>Override:</STRONG></A> FileInfo<BR>
<A
 HREF="directive-dict.html#Status"
 REL="Help"
><STRONG>Status:</STRONG></A> Base<BR>
<A
 HREF="directive-dict.html#Module"
 REL="Help"
><STRONG>Module:</STRONG></A> mod_mime

<P>
The SetFilter directive maps a filter stack to the specified MIME-type.
</P>
<P>
Example: <BLOCKQUOTE><CODE>
SetFilter server-parsed INCLUDES CACHE
</CODE></BLOCKQUOTE>
</P>
<P>
Then any document with the server-parsed MIME-type will pass through the 
INCLUDES and CACHE filters.  The filters are added in the same order that 
they are specified in the config file.
</P>
<P>
This can be very powerful when combined with the <A HREF="#addtype">
AddType</A> directive.  This allows you to specify an extension for a 
MIME-type and a set of filters for files with those extensions to be passed 
through
</P>
<PRE>
SetFilter text/html INCLUDES 
</PRE>
<P>
documents with the extension "<CODE>.shtml</CODE>" would be passed through
the INCLUDES filter.
</P>
<P>

<HR>

<H2><A NAME="addtype">AddType</A> directive</H2>
<!--%plaintext &lt;?INDEX {\tt AddType} directive&gt; -->
<A