From: Graham Leggett
Date: Thu, 22 Dec 2011 21:54:55 +0000 (+0000)
Subject: Clarify how the filters are merged when defined using the AddOuputFilter
X-Git-Tag: 2.5.0-alpha~7633
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5fa6dd935d06086ef19c197711adf3ee60b24ae6;p=apache
Clarify how the filters are merged when defined using the AddOuputFilter
directive.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1222473 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/docs/manual/mod/mod_mime.xml b/docs/manual/mod/mod_mime.xml
index 7edfe134fe..4a65ed213b 100644
--- a/docs/manual/mod/mod_mime.xml
+++ b/docs/manual/mod/mod_mime.xml
@@ -507,6 +507,41 @@ later.
href="#multipleext">multiple extensions and the
extension argument will be compared against each of
them.
+
+ Note that when defining a set of filters using the
+ AddOuputFilter directive,
+ any definition made will replace any previous definition made by
+ the AddOuputFilter
+ directive.
+
+
+ # Effective filter "DEFLATE"
+ AddOutputFilter DEFLATE shtml
+ <Location /foo>
+
+ # Effective filter "INCLUDES", replacing "DEFLATE"
+ AddOutputFilter INCLUDES shtml
+
+ </Location>
+ <Location /bar>
+
+ # Effective filter "INCLUDES;DEFLATE", replacing "DEFLATE"
+ AddOutputFilter INCLUDES;DEFLATE shtml
+
+ </Location>
+ <Location /bar/baz>
+
+ # Effective filter "BUFFER", replacing "INCLUDES;DEFLATE"
+ AddOutputFilter BUFFER shtml
+
+ </Location>
+ <Location /bar/baz/buz>
+
+ # No effective filter, replacing "BUFFER"
+ RemoveOutputFilter shtml
+
+ </Location>
+
RemoveOutputFilter
SetOutputFilter