1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-06 09:01:14 +03:00

Warn people away from the more complicated mod_deflate example.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103081 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Joshua Slive
2004-03-22 21:06:31 +00:00
parent 7e0b9e5a9a
commit c4eb6cebba
2 changed files with 14 additions and 8 deletions

View File

@@ -47,7 +47,7 @@ client</td></tr>
</ul>
<h3>Topics</h3>
<ul id="topics">
<li><img alt="" src="../images/down.gif" /> <a href="#recommended">Recommended Configuration</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#recommended">Sample Configurations</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#enable">Enabling Compression</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#proxies">Dealing with proxy servers</a></li>
</ul><h3>See also</h3>
@@ -56,14 +56,17 @@ client</td></tr>
</ul></div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="section">
<h2><a name="recommended" id="recommended">Recommended Configuration</a></h2>
<p>This is a sample configuration for the impatient. But please take
the time and read the sections below for a detailed description!</p>
<h2><a name="recommended" id="recommended">Sample Configurations</a></h2>
<p>This is a simple sample configuration for the impatient.</p>
<div class="example"><h3>Compress only a few types</h3><p><code>
AddOutputFilterByType DEFLATE text/html text/plain text/xml
</code></p></div>
<p>The following configuration, while resulting in more compressed content,
is also much more complicated. Do not use this unless you fully understand
all the configuration details.</p>
<div class="example"><h3>Compress everything except images</h3><p><code>
&lt;Location /&gt;<br />
<span class="indent">
@@ -348,6 +351,6 @@ client</td></tr>
<a href="../ja/mod/mod_deflate.html" hreflang="ja" rel="alternate" title="Japanese">&nbsp;ja&nbsp;</a> |
<a href="../ko/mod/mod_deflate.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a></p>
</div><div id="footer">
<p class="apache">Copyright 1999-2004 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
<p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p>
<p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div>
</body></html>

View File

@@ -35,14 +35,17 @@ client</description>
</summary>
<seealso><a href="../filter.html">Filters</a></seealso>
<section id="recommended"><title>Recommended Configuration</title>
<p>This is a sample configuration for the impatient. But please take
the time and read the sections below for a detailed description!</p>
<section id="recommended"><title>Sample Configurations</title>
<p>This is a simple sample configuration for the impatient.</p>
<example><title>Compress only a few types</title>
AddOutputFilterByType DEFLATE text/html text/plain text/xml
</example>
<p>The following configuration, while resulting in more compressed content,
is also much more complicated. Do not use this unless you fully understand
all the configuration details.</p>
<example><title>Compress everything except images</title>
&lt;Location /&gt;<br />
<indent>