From ae7805d18dec62e0cda312de551d4713d8e0c419 Mon Sep 17 00:00:00 2001 From: Rich Bowen Date: Wed, 12 Mar 2014 20:44:38 +0000 Subject: [PATCH] Replace FilesMatch with Files where appropriate git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1576896 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_lua.xml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/docs/manual/mod/mod_lua.xml b/docs/manual/mod/mod_lua.xml index c735cdb62f..55caa7ed78 100644 --- a/docs/manual/mod/mod_lua.xml +++ b/docs/manual/mod/mod_lua.xml @@ -66,12 +66,14 @@ trust, as it can be abused to change the internal workings of httpd.

mod_lua provides a handler named lua-script, -which can be used with an AddHandler directive:

+which can be used with a SetHandler or +AddHandler directive:

-<FilesMatch "\.lua$"> - AddHandler lua-script .lua -</FilesMatch> +<Files *.lua> + SetHandler lua-script +</Files>

@@ -1832,9 +1834,9 @@ onto the Lua script: LuaInputFilter myInputFilter /www/filter.lua input_filter -<FilesMatch "\.lua> +<Files *.lua> SetInputFilter myInputFilter -</FilesMatch> +</Files> --[[ @@ -1889,9 +1891,9 @@ onto the Lua script: LuaOutputFilter myOutputFilter /www/filter.lua output_filter -<FilesMatch "\.lua> +<Files *.lua> SetOutputFilter myOutputFilter -</FilesMatch> +</Files> --[[ -- 2.40.0