You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by er...@apache.org on 2002/08/18 15:01:34 UTC

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

erikabele    2002/08/18 06:01:34

  Modified:    docs/manual/mod mod_deflate.xml mod_deflate.html.en
  Log:
  Fixed some XML-issues.
  Submitted by: David Shane Holden <dp...@yahoo.com>
  
  Additionally added 'virtual host' to context-details.
  
  Revision  Changes    Path
  1.8       +14 -12    httpd-2.0/docs/manual/mod/mod_deflate.xml
  
  Index: mod_deflate.xml
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/mod/mod_deflate.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- mod_deflate.xml	7 Aug 2002 15:26:17 -0000	1.7
  +++ mod_deflate.xml	18 Aug 2002 13:01:34 -0000	1.8
  @@ -22,16 +22,14 @@
   <section><title>Enabling Compression</title>
   
       <p>Compression is implemented by the <code>DEFLATE</code>
  -    <a href="../filter.html">filter</a>.  The following directive
  +    <a href="../filter.html">filter</a>. The following directive
       will enable compression for documents in the container where it
       is placed:</p>
  -    <strong>
  -    <p>Most popular browsers can not handle compression of all content
  +    <p><strong>Most popular browsers can not handle compression of all content
           so you may want to set the 'gzip-only-text/html' note to 1 to only 
  -        allow html files to be compressed (see below)</p>
  -    <p>if you set this to anything but '1' it will be ignored, so you can do
  -       negative matches</p>
  -    </strong>
  +        allow html files to be compressed (see below).</strong></p>
  +    <p><strong>If you set this to anything but '1' it will be ignored, so you can do
  +       negative matches.</strong></p>
   
   <example>SetEnv gzip-only-text/html 1<br />
   SetOutputFilter DEFLATE
  @@ -52,12 +50,13 @@
   <name>DeflateFilterNote</name>
   <description>Places the compression ratio in a note for logging</description>
   <syntax>DeflateFilterNote <em>notename</em></syntax>
  -<contextlist><context>server config</context></contextlist>
  +<contextlist><context>server config</context><context>virtual host</context>
  +</contextlist>
   
   <usage>
       <p>The <directive>DeflateFilterNote</directive> directive
       specifies that a note about compression ratios should be attached
  -    to the request.  The name of the note is the value specified for
  +    to the request. The name of the note is the value specified for
       the directive.</p>
   </usage>
   </directivesynopsis>
  @@ -67,7 +66,8 @@
   <description>Fragment size to be compressed at one time by zlib</description>
   <syntax>DeflateBufferSize <em>value</em></syntax>
   <default>DeflateBufferSize 8096</default>
  -<contextlist><context>server config</context></contextlist>
  +<contextlist><context>server config</context><context>virtual host</context>
  +</contextlist>
   
   <usage>
       <p>The <directive>DeflateBufferSize</directive> directive specifies
  @@ -81,7 +81,8 @@
   <description>Zlib compression window size</description>
   <syntax>DeflateWindowSize <em>value</em></syntax>
   <default>DeflateWindowSize 15</default>
  -<contextlist><context>server config</context></contextlist>
  +<contextlist><context>server config</context><context>virtual host</context>
  +</contextlist>
   
   <usage>
       <p>The <directive>DeflateWindowSize</directive> directive specifies the
  @@ -94,7 +95,8 @@
   <description>How much memory should be used by zlib for compression</description>
   <syntax>DeflateMemLevel <em>value</em></syntax>
   <default>DeflateMemLevel 9</default>
  -<contextlist><context>server config</context></contextlist>
  +<contextlist><context>server config</context><context>virtual host</context>
  +</contextlist>
   
   <usage>
       <p>The <directive>DeflateMemLevel</directive> directive specifies
  
  
  
  1.8       +10 -12    httpd-2.0/docs/manual/mod/mod_deflate.html.en
  
  Index: mod_deflate.html.en
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/mod/mod_deflate.html.en,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- mod_deflate.html.en	14 Aug 2002 18:56:00 -0000	1.7
  +++ mod_deflate.html.en	18 Aug 2002 13:01:34 -0000	1.8
  @@ -14,16 +14,14 @@
   <h2>Directives</h2><ul><li><a href="#deflatebuffersize">DeflateBufferSize</a></li><li><a href="#deflatefilternote">DeflateFilterNote</a></li><li><a href="#deflatememlevel">DeflateMemLevel</a></li><li><a href="#deflatewindowsize">DeflateWindowSize</a></li></ul><p><strong>See also </strong></p><ul><li><a href="../mod/mod_mime.html#addoutputfilter" class="directive"><code class="directive">AddOutputFilter</code></a></li><li><a href="../mod/core.html#setoutputfilter" class="directive"><code class="directive">SetOutputFilter</code></a></li></ul><h2>Enabling Compression</h2>
   
       <p>Compression is implemented by the <code>DEFLATE</code>
  -    <a href="../filter.html">filter</a>.  The following directive
  +    <a href="../filter.html">filter</a>. The following directive
       will enable compression for documents in the container where it
       is placed:</p>
  -    <strong>
  -    <p>Most popular browsers can not handle compression of all content
  +    <p><strong>Most popular browsers can not handle compression of all content
           so you may want to set the 'gzip-only-text/html' note to 1 to only 
  -        allow html files to be compressed (see below)</p>
  -    <p>if you set this to anything but '1' it will be ignored, so you can do
  -       negative matches</p>
  -    </strong>
  +        allow html files to be compressed (see below).</strong></p>
  +    <p><strong>If you set this to anything but '1' it will be ignored, so you can do
  +       negative matches.</strong></p>
   
   <blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>SetEnv gzip-only-text/html 1<br>
   SetOutputFilter DEFLATE
  @@ -42,7 +40,7 @@
                     </strong></td><td>Fragment size to be compressed at one time by zlib</td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Syntax" class="help">Syntax:
                     </a></td><td>DeflateBufferSize <em>value</em></td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Default" class="help">Default: 
                       </a></td><td><code>DeflateBufferSize 8096</code></td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Context" class="help">Context:
  -                  </a></td><td>server config</td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Status" class="help">Status:
  +                  </a></td><td>server config, virtual host</td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Status" class="help">Status:
                     </a></td><td>Extension</td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Module" class="help">Module:
                     </a></td><td>mod_deflate</td></tr></table></td></tr></table>
       <p>The <code class="directive">DeflateBufferSize</code> directive specifies
  @@ -51,18 +49,18 @@
   <hr><h2><a name="DeflateFilterNote">DeflateFilterNote</a> <a name="deflatefilternote">Directive</a></h2><table cellpadding="1" cellspacing="0" border="0" bgcolor="#cccccc"><tr><td><table bgcolor="#ffffff"><tr><td nowrap="nowrap"><strong>Description: 
                     </strong></td><td>Places the compression ratio in a note for logging</td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Syntax" class="help">Syntax:
                     </a></td><td>DeflateFilterNote <em>notename</em></td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Context" class="help">Context:
  -                  </a></td><td>server config</td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Status" class="help">Status:
  +                  </a></td><td>server config, virtual host</td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Status" class="help">Status:
                     </a></td><td>Extension</td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Module" class="help">Module:
                     </a></td><td>mod_deflate</td></tr></table></td></tr></table>
       <p>The <code class="directive">DeflateFilterNote</code> directive
       specifies that a note about compression ratios should be attached
  -    to the request.  The name of the note is the value specified for
  +    to the request. The name of the note is the value specified for
       the directive.</p>
   <hr><h2><a name="DeflateMemLevel">DeflateMemLevel</a> <a name="deflatememlevel">Directive</a></h2><table cellpadding="1" cellspacing="0" border="0" bgcolor="#cccccc"><tr><td><table bgcolor="#ffffff"><tr><td nowrap="nowrap"><strong>Description: 
                     </strong></td><td>How much memory should be used by zlib for compression</td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Syntax" class="help">Syntax:
                     </a></td><td>DeflateMemLevel <em>value</em></td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Default" class="help">Default: 
                       </a></td><td><code>DeflateMemLevel 9</code></td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Context" class="help">Context:
  -                  </a></td><td>server config</td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Status" class="help">Status:
  +                  </a></td><td>server config, virtual host</td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Status" class="help">Status:
                     </a></td><td>Extension</td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Module" class="help">Module:
                     </a></td><td>mod_deflate</td></tr></table></td></tr></table>
       <p>The <code class="directive">DeflateMemLevel</code> directive specifies
  @@ -72,7 +70,7 @@
                     </strong></td><td>Zlib compression window size</td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Syntax" class="help">Syntax:
                     </a></td><td>DeflateWindowSize <em>value</em></td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Default" class="help">Default: 
                       </a></td><td><code>DeflateWindowSize 15</code></td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Context" class="help">Context:
  -                  </a></td><td>server config</td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Status" class="help">Status:
  +                  </a></td><td>server config, virtual host</td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Status" class="help">Status:
                     </a></td><td>Extension</td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Module" class="help">Module:
                     </a></td><td>mod_deflate</td></tr></table></td></tr></table>
       <p>The <code class="directive">DeflateWindowSize</code> directive specifies the