]> granicus.if.org Git - apache/commitdiff
SetHandler only has one parameter + reflow a sentence to synch with 2.4.x
authorChristophe Jaillet <jailletc36@apache.org>
Sun, 1 Jun 2014 10:01:03 +0000 (10:01 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Sun, 1 Jun 2014 10:01:03 +0000 (10:01 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1598962 13f79535-47bb-0310-9956-ffa450edef68

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

index 9bedd4c16af8dd1ffc7011cf6acdcd16df48ef61..e6c22dd17bf3647d0d66ff32569464d8bcb88838 100644 (file)
@@ -105,11 +105,11 @@ 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 class="directive"><a href="../mod/mod_mime.html#addhandler">AddHandler</a></code>
-or <code class="directive"><a href="../mod/core.html#sethandler">SetHandler</a></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;Files *.lua&gt;
-    SetHandler lua-script .lua
+    SetHandler lua-script
 &lt;/Files&gt;</pre>
 
 
index 030ed231f19c21ce12f25ca78c978245e3a1ef26..4b5ca2c9c7b81be8f2d97d18e7ab62f92f8095f9 100644 (file)
@@ -66,12 +66,13 @@ 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 <directive module="mod_mime">AddHandler</directive>
-or <directive module="core">SetHandler</directive> 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;Files *.lua&gt;
-    SetHandler lua-script .lua
+    SetHandler lua-script
 &lt;/Files&gt;
 </highlight>