httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rbo...@apache.org
Subject svn commit: r1576898 - in /httpd/httpd/branches/2.4.x/docs/manual/mod: mod_lua.html.en mod_lua.xml.fr
Date Wed, 12 Mar 2014 20:46:02 GMT
Author: rbowen
Date: Wed Mar 12 20:46:02 2014
New Revision: 1576898

URL: http://svn.apache.org/r1576898
Log:
Rebuild

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

Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_lua.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_lua.html.en?rev=1576898&r1=1576897&r2=1576898&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_lua.html.en (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_lua.html.en Wed Mar 12 20:46:02 2014
@@ -105,11 +105,12 @@ 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 <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

Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_lua.xml.fr
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_lua.xml.fr?rev=1576898&r1=1576897&r2=1576898&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_lua.xml.fr (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_lua.xml.fr Wed Mar 12 20:46:02 2014
@@ -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 -->
 



Mime
View raw message