]> granicus.if.org Git - apache/commitdiff
Rebuild
authorRich Bowen <rbowen@apache.org>
Wed, 12 Mar 2014 20:46:02 +0000 (20:46 +0000)
committerRich Bowen <rbowen@apache.org>
Wed, 12 Mar 2014 20:46:02 +0000 (20:46 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1576898 13f79535-47bb-0310-9956-ffa450edef68

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

index c300dce0448d2068d745c32974b3c8129030c9f0..8fbe093f7f87cda444615b9ae4af2624c7e72654 100644 (file)
@@ -105,11 +105,12 @@ trust, as it can be abused to change the internal workings of httpd.</p>
 
 <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 <code class="directive"><a href="../mod/core.html#sethandler">SetHandler</a></code> or
+<code class="directive"><a href="../mod/mod_mime.html#addhandler">AddHandler</a></code> directive:</p>
 
-<pre class="prettyprint lang-config">&lt;FilesMatch "\.lua$"&gt;
-    AddHandler lua-script .lua
-&lt;/FilesMatch&gt;</pre>
+<pre class="prettyprint lang-config">&lt;Files *.lua&gt;
+    SetHandler lua-script
+&lt;/Files&gt;</pre>
 
 
 <p>
@@ -1614,9 +1615,9 @@ onto the Lua script:
 </p>
 
 <pre class="prettyprint lang-config">LuaInputFilter myInputFilter /www/filter.lua input_filter
-&lt;FilesMatch "\.lua&gt;
+&lt;Files *.lua&gt;
   SetInputFilter myInputFilter
-&lt;/FilesMatch&gt;</pre>
+&lt;/Files&gt;</pre>
 
 <pre class="prettyprint lang-lua">--[[
     Example input filter that converts all POST data to uppercase.
@@ -1699,9 +1700,9 @@ onto the Lua script:
 </p>
 
 <pre class="prettyprint lang-config">LuaOutputFilter myOutputFilter /www/filter.lua output_filter
-&lt;FilesMatch "\.lua&gt;
+&lt;Files *.lua&gt;
   SetOutputFilter myOutputFilter
-&lt;/FilesMatch&gt;</pre>
+&lt;/Files&gt;</pre>
 
 <pre class="prettyprint lang-lua">--[[
     Example output filter that escapes all HTML entities in the output
index 38e55838898e4b46c763f9fae3095ccff084312e..1d36b48eb4e20717b96e8a7954591c2c868bb3f5 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0"?>
 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision: 1570530:1576416 (outdated) -->
+<!-- English Revision: 1570530:1576896 (outdated) -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->