httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sl...@apache.org
Subject cvs commit: httpd-2.0/docs/manual/mod mod_mime.html
Date Sat, 10 Feb 2001 23:32:22 GMT
slive       01/02/10 15:32:22

  Modified:    docs/manual/mod mod_mime.html
  Log:
  Remove SetFilter from the mod_mime docs.
  
  Revision  Changes    Path
  1.42      +13 -66    httpd-2.0/docs/manual/mod/mod_mime.html
  
  Index: mod_mime.html
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/mod/mod_mime.html,v
  retrieving revision 1.41
  retrieving revision 1.42
  diff -u -d -b -u -r1.41 -r1.42
  --- mod_mime.html	2000/12/09 19:50:03	1.41
  +++ mod_mime.html	2001/02/10 23:32:21	1.42
  @@ -44,17 +44,19 @@
   
   <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 @@
   <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>
  @@ -355,60 +356,6 @@
   <STRONG>See also</STRONG>: <A
   HREF="./mod_negotiation.html">mod_negotiation</A>
   </P>
  -
  -<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>
   
  
  
  

Mime
View raw message