You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@apache.org on 2014/03/12 21:44:39 UTC

svn commit: r1576896 - /httpd/httpd/branches/2.4.x/docs/manual/mod/mod_lua.xml

Author: rbowen
Date: Wed Mar 12 20:44:38 2014
New Revision: 1576896

URL: http://svn.apache.org/r1576896
Log:
Replace FilesMatch with Files where appropriate

Modified:
    httpd/httpd/branches/2.4.x/docs/manual/mod/mod_lua.xml

Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_lua.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_lua.xml?rev=1576896&r1=1576895&r2=1576896&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_lua.xml (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_lua.xml Wed Mar 12 20:44:38 2014
@@ -66,12 +66,14 @@ trust, as it can be abused to change the
 
 <p>
 <code>mod_lua</code> provides a handler named <code>lua-script</code>,
-which can be used with an <code>AddHandler</code> directive:</p>
+which can be used with a <directive
+module="core">SetHandler</directive> or
+<directive module="mod_mime">AddHandler</directive> directive:</p>
 
 <highlight language="config">
-&lt;FilesMatch "\.lua$"&gt;
-    AddHandler lua-script .lua
-&lt;/FilesMatch&gt;
+&lt;Files *.lua&gt;
+    SetHandler lua-script
+&lt;/Files&gt;
 </highlight>
 
 <p>
@@ -1832,9 +1834,9 @@ onto the Lua script:
 
 <highlight language="config">
 LuaInputFilter myInputFilter /www/filter.lua input_filter
-&lt;FilesMatch "\.lua&gt;
+&lt;Files *.lua&gt;
   SetInputFilter myInputFilter
-&lt;/FilesMatch&gt;
+&lt;/Files&gt;
 </highlight>
 <highlight language="lua">
 --[[
@@ -1889,9 +1891,9 @@ onto the Lua script:
 
 <highlight language="config">
 LuaOutputFilter myOutputFilter /www/filter.lua output_filter
-&lt;FilesMatch "\.lua&gt;
+&lt;Files *.lua&gt;
   SetOutputFilter myOutputFilter
-&lt;/FilesMatch&gt;
+&lt;/Files&gt;
 </highlight>
 <highlight language="lua">
 --[[