httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rbo...@apache.org
Subject svn commit: r1576890 - /httpd/httpd/trunk/docs/manual/mod/mod_lua.xml
Date Wed, 12 Mar 2014 20:37:08 GMT
Author: rbowen
Date: Wed Mar 12 20:37:08 2014
New Revision: 1576890

URL: http://svn.apache.org/r1576890
Log:
Use the simpler Files syntax rather than FilesMatch

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

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=1576890&r1=1576889&r2=1576890&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_lua.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_lua.xml Wed Mar 12 20:37:08 2014
@@ -69,9 +69,9 @@ trust, as it can be abused to change the
 which can be used with an <code>AddHandler</code> directive:</p>
 
 <highlight language="config">
-&lt;FilesMatch "\.lua$"&gt;
+&lt;Files *.lua"&gt;
     AddHandler lua-script .lua
-&lt;/FilesMatch&gt;
+&lt;/Files&gt;
 </highlight>
 
 <p>
@@ -1844,9 +1844,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">
 --[[
@@ -1901,9 +1901,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">
 --[[



Mime
View raw message