]> granicus.if.org Git - apache/commitdiff
mention some trickyness with mod_lua + mod_filter.
authorEric Covener <covener@apache.org>
Mon, 2 Sep 2013 18:08:25 +0000 (18:08 +0000)
committerEric Covener <covener@apache.org>
Mon, 2 Sep 2013 18:08:25 +0000 (18:08 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1519488 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_lua.html.en
docs/manual/mod/mod_lua.xml

index c728b77d32d5441e4888b4b86f7cd85f0b1ac461..fd3e4314ecd2ee5f978ced0f6215cdf4c95da708 100644 (file)
@@ -1843,11 +1843,18 @@ function output_filter(r)
 end
 </pre>
 
+<div class="note"><h3>Lua filters with <code class="module"><a href="../mod/mod_filter.html">mod_filter</a></code></h3>
+<p> When a Lua filter is used as the underlying provider via the 
+<code class="directive"><a href="../mod/mod_filter.html#filterprovider">FilterProvider</a></code> directive, filtering 
+will only work when the <var>filter-name</var> is identical to the <var>provider-name</var>.
+</p> </div>
+
 <p>
 See "<a href="#modifying_buckets">Modifying contents with Lua filters</a>" for more 
 information.
 </p>
 
+
 </div>
 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
 <div class="directive-section"><h2><a name="LuaPackageCPath" id="LuaPackageCPath">LuaPackageCPath</a> <a name="luapackagecpath" id="luapackagecpath">Directive</a></h2>
index a921198e2d231ca9bb1ff9c77f32f27593ece63f..a3f1e5e7f544f8f81d17cdac0cd85b195025cd59 100644 (file)
@@ -1861,10 +1861,17 @@ function output_filter(r)
     ... -- insert filter stuff here
 end
 </highlight>
+<note><title>Lua filters with <module>mod_filter</module></title>
+<p> When a Lua filter is used as the underlying provider via the 
+<directive module="mod_filter">FilterProvider</directive> directive, filtering 
+will only work when the <var>filter-name</var> is identical to the <var>provider-name</var>.
+</p> </note>
+
 <p>
 See "<a href="#modifying_buckets">Modifying contents with Lua filters</a>" for more 
 information.
 </p>
+
 </usage>
 </directivesynopsis>