httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minf...@apache.org
Subject svn commit: r1222475 - /httpd/httpd/trunk/docs/manual/mod/mod_mime.html.en
Date Thu, 22 Dec 2011 21:55:21 GMT
Author: minfrin
Date: Thu Dec 22 21:55:21 2011
New Revision: 1222475

URL: http://svn.apache.org/viewvc?rev=1222475&view=rev
Log:
Update transformation.

Modified:
    httpd/httpd/trunk/docs/manual/mod/mod_mime.html.en

Modified: httpd/httpd/trunk/docs/manual/mod/mod_mime.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_mime.html.en?rev=1222475&r1=1222474&r2=1222475&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_mime.html.en (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_mime.html.en Thu Dec 22 21:55:21 2011
@@ -513,6 +513,41 @@ later.</td></tr>
     <var>extension</var> argument will be compared against each of
     them.</p>
 
+    <p>Note that when defining a set of filters using the
+    <code class="directive"><a href="#addouputfilter">AddOuputFilter</a></code>
directive,
+    any definition made will replace any previous definition made by
+    the <code class="directive"><a href="#addouputfilter">AddOuputFilter</a></code>
+    directive.</p>
+
+    <div class="example"><p><code>
+    # Effective filter "DEFLATE"<br />
+    AddOutputFilter DEFLATE shtml<br />
+    &lt;Location /foo&gt;<br />
+      <span class="indent">
+      # Effective filter "INCLUDES", replacing "DEFLATE"<br />
+      AddOutputFilter INCLUDES shtml<br />
+      </span>
+    &lt;/Location&gt;<br />
+    &lt;Location /bar&gt;<br />
+      <span class="indent">
+      # Effective filter "INCLUDES;DEFLATE", replacing "DEFLATE"<br />
+      AddOutputFilter INCLUDES;DEFLATE shtml<br />
+      </span>
+    &lt;/Location&gt;<br />
+    &lt;Location /bar/baz&gt;<br />
+      <span class="indent">
+      # Effective filter "BUFFER", replacing "INCLUDES;DEFLATE"<br />
+      AddOutputFilter BUFFER shtml<br />
+      </span>
+    &lt;/Location&gt;<br />
+    &lt;Location /bar/baz/buz&gt;<br />
+      <span class="indent">
+      # No effective filter, replacing "BUFFER"<br />
+      RemoveOutputFilter shtml<br />
+      </span>
+    &lt;/Location&gt;
+    </code></p></div>
+
 <h3>See also</h3>
 <ul>
 <li><code class="directive"><a href="#removeoutputfilter">RemoveOutputFilter</a></code></li>



Mime
View raw message