You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ja...@apache.org on 2014/06/01 12:01:04 UTC

svn commit: r1598962 - in /httpd/httpd/trunk/docs/manual/mod: mod_lua.html.en mod_lua.xml

Author: jailletc36
Date: Sun Jun  1 10:01:03 2014
New Revision: 1598962

URL: http://svn.apache.org/r1598962
Log:
SetHandler only has one parameter + reflow a sentence to synch  with 2.4.x

Modified:
    httpd/httpd/trunk/docs/manual/mod/mod_lua.html.en
    httpd/httpd/trunk/docs/manual/mod/mod_lua.xml

Modified: httpd/httpd/trunk/docs/manual/mod/mod_lua.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_lua.html.en?rev=1598962&r1=1598961&r2=1598962&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_lua.html.en (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_lua.html.en Sun Jun  1 10:01:03 2014
@@ -105,11 +105,11 @@ 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 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>
 
 

Modified: httpd/httpd/trunk/docs/manual/mod/mod_lua.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_lua.xml?rev=1598962&r1=1598961&r2=1598962&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_lua.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_lua.xml Sun Jun  1 10:01:03 2014
@@ -66,12 +66,13 @@ 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 <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>