]> granicus.if.org Git - apache/commitdiff
add an example to the mod_deflate documentation
authorJeff Trawick <trawick@apache.org>
Wed, 20 Feb 2002 15:18:11 +0000 (15:18 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 20 Feb 2002 15:18:11 +0000 (15:18 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93508 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_deflate.html

index 48c190fc2d188943b6a84291cf8356d1a3e9e916..71e8fb0054311bd628aea0db077a74daf14e0ef0 100755 (executable)
 
       <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 -->