summaryrefslogtreecommitdiffstats
path: root/docs/manual
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2002-02-20 16:18:11 +0100
committerJeff Trawick <trawick@apache.org>2002-02-20 16:18:11 +0100
commitf6fba3e0016c7be83ecc219bfaaff58bf9fa6d15 (patch)
treef14da1a82c148b31ab1a6eaa7dbfbd5b7390c3e2 /docs/manual
parentAdd some messages. Be a bit smarter about detecting if a write has started (diff)
downloadapache2-f6fba3e0016c7be83ecc219bfaaff58bf9fa6d15.tar.xz
apache2-f6fba3e0016c7be83ecc219bfaaff58bf9fa6d15.zip
add an example to the mod_deflate documentation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93508 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual')
-rwxr-xr-xdocs/manual/mod/mod_deflate.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/docs/manual/mod/mod_deflate.html b/docs/manual/mod/mod_deflate.html
index 48c190fc2d..71e8fb0054 100755
--- a/docs/manual/mod/mod_deflate.html
+++ b/docs/manual/mod/mod_deflate.html
@@ -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 -->