You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2002/02/20 16:18:11 UTC

cvs commit: httpd-2.0/docs/manual/mod mod_deflate.html

trawick     02/02/20 07:18:11

  Modified:    docs/manual/mod mod_deflate.html
  Log:
  add an example to the mod_deflate documentation
  
  Revision  Changes    Path
  1.2       +26 -0     httpd-2.0/docs/manual/mod/mod_deflate.html
  
  Index: mod_deflate.html
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/mod/mod_deflate.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- mod_deflate.html	15 Feb 2002 20:52:52 -0000	1.1
  +++ mod_deflate.html	20 Feb 2002 15:18:11 -0000	1.2
  @@ -45,6 +45,32 @@
   
         <li><a href="#DeflateMemLevel">DeflateMemLevel</a></li>
       </ul>
  +
  +    <p>See also: <a href="mod_mime.html#addoutputfilter">
  +    AddOutputFilter</a> and <a href="core.html#setoutputfilter">
  +    SetOutputFilter</a>
  +
  +    <h2>Enabling Compression</h2>
  +
  +    <p>Compression is implemented by the <code>DEFLATE</code>
  +    <a href="../filter.html">filter</a>.  The following directive
  +    will enable compression for documents in the container where it
  +    is placed:</p>
  +
  +    <blockquote>
  +      <code>SetOutputFilter DEFLATE</code>
  +    </blockquote>
  +
  +    <p>Here is an example of enabling compression for the Apache
  +    documentation:</p>
  +
  +    <blockquote>
  +      <code>&lt;Directory "/your-server-root/manual"&gt;<br />
  +      SetOutputFilter DEFLATE</code><br />
  +      <em>leave the existing directives as-is</em><br />
  +      <code>&lt;/Directory&gt;</code>
  +    </blockquote>
  +
       <hr />
       <!-- the HR is part of the directive description -->