From 3a39d2d64dd6ad3f196304274f20adbc2fe9950d Mon Sep 17 00:00:00 2001 From: Daniel Gruno Date: Tue, 15 Jan 2019 12:45:53 +0000 Subject: [PATCH] mod_lua moved to stable; https://s.apache.org/Xnh1 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1851341 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_lua.html.en | 47 +++++++++++++++------------------ docs/manual/mod/mod_lua.xml | 7 +---- 2 files changed, 22 insertions(+), 32 deletions(-) diff --git a/docs/manual/mod/mod_lua.html.en b/docs/manual/mod/mod_lua.html.en index e56bc082880..506ce7e974a 100644 --- a/docs/manual/mod/mod_lua.html.en +++ b/docs/manual/mod/mod_lua.html.en @@ -31,7 +31,7 @@ - +
Description:Provides Lua hooks into various portions of the httpd request processing
Status:Experimental
Status:Extension
Module Identifier:lua_module
Source File:mod_lua.c
Compatibility:2.3 and later
@@ -47,11 +47,6 @@ authorization

More information on the Lua programming language can be found at the the Lua website.

-
mod_lua is still in experimental state. -Until it is declared stable, usage and behavior may change -at any time, even between stable releases of the 2.4.x series. -Be sure to check the CHANGES file before upgrading.
-

Warning

This module holds a great deal of power over httpd, which is both a strength and a potential security risk. It is not recommended @@ -1244,7 +1239,7 @@ collectgarbage() -- close the handle via GC Syntax:LuaAuthzProvider provider_name /path/to/lua/script.lua function_name Context:server config -Status:Experimental +Status:Extension Module:mod_lua Compatibility:2.4.3 and later @@ -1275,7 +1270,7 @@ end Default:LuaCodeCache stat Context:server config, virtual host, directory, .htaccess Override:All -Status:Experimental +Status:Extension Module:mod_lua

Specify the behavior of the in-memory code cache. The default @@ -1303,7 +1298,7 @@ LuaCodeCache never Syntax:LuaHookAccessChecker /path/to/lua/script.lua hook_function_name [early|late] Context:server config, virtual host, directory, .htaccess Override:All -Status:Experimental +Status:Extension Module:mod_lua Compatibility:The optional third argument is supported in 2.3.15 and later @@ -1320,7 +1315,7 @@ hook function usually returns OK, DECLINED, or HTTP_FORBIDDEN.

Syntax:LuaHookAuthChecker /path/to/lua/script.lua hook_function_name [early|late] Context:server config, virtual host, directory, .htaccess Override:All -Status:Experimental +Status:Extension Module:mod_lua Compatibility:The optional third argument is supported in 2.3.15 and later @@ -1370,7 +1365,7 @@ end Syntax:LuaHookCheckUserID /path/to/lua/script.lua hook_function_name [early|late] Context:server config, virtual host, directory, .htaccess Override:All -Status:Experimental +Status:Extension Module:mod_lua Compatibility:The optional third argument is supported in 2.3.15 and later

...

@@ -1386,7 +1381,7 @@ processing Syntax:LuaHookFixups /path/to/lua/script.lua hook_function_name Context:server config, virtual host, directory, .htaccess Override:All -Status:Experimental +Status:Extension Module:mod_lua

@@ -1401,7 +1396,7 @@ processing Syntax:LuaHookInsertFilter /path/to/lua/script.lua hook_function_name Context:server config, virtual host, directory, .htaccess Override:All -Status:Experimental +Status:Extension Module:mod_lua

Not Yet Implemented

@@ -1413,7 +1408,7 @@ processing Syntax:LuaHookLog /path/to/lua/script.lua log_function_name Context:server config, virtual host, directory, .htaccess Override:All -Status:Experimental +Status:Extension Module:mod_lua

@@ -1458,7 +1453,7 @@ end Syntax:LuaHookMapToStorage /path/to/lua/script.lua hook_function_name Context:server config, virtual host, directory, .htaccess Override:All -Status:Experimental +Status:Extension Module:mod_lua

Like LuaHookTranslateName but executed at the @@ -1506,7 +1501,7 @@ end Syntax:LuaHookTranslateName /path/to/lua/script.lua hook_function_name [early|late] Context:server config, virtual host Override:All -Status:Experimental +Status:Extension Module:mod_lua Compatibility:The optional third argument is supported in 2.3.15 and later

@@ -1556,7 +1551,7 @@ end Syntax:LuaHookTypeChecker /path/to/lua/script.lua hook_function_name Context:server config, virtual host, directory, .htaccess Override:All -Status:Experimental +Status:Extension Module:mod_lua

This directive provides a hook for the type_checker phase of the request processing. @@ -1586,7 +1581,7 @@ end Default:LuaInherit parent-first Context:server config, virtual host, directory, .htaccess Override:All -Status:Experimental +Status:Extension Module:mod_lua Compatibility:2.4.0 and later

By default, if LuaHook* directives are used in overlapping @@ -1604,7 +1599,7 @@ end Description:Provide a Lua function for content input filtering Syntax:LuaInputFilter filter_name /path/to/lua/script.lua function_name Context:server config -Status:Experimental +Status:Extension Module:mod_lua Compatibility:2.4.5 and later @@ -1660,7 +1655,7 @@ filters" for more information. Syntax:LuaMapHandler uri-pattern /path/to/lua/script.lua [function-name] Context:server config, virtual host, directory, .htaccess Override:All -Status:Experimental +Status:Extension Module:mod_lua

This directive matches a uri pattern to invoke a specific @@ -1689,7 +1684,7 @@ filters" for more information. Description:Provide a Lua function for content output filtering Syntax:LuaOutputFilter filter_name /path/to/lua/script.lua function_name Context:server config -Status:Experimental +Status:Extension Module:mod_lua Compatibility:2.4.5 and later @@ -1752,7 +1747,7 @@ information. Syntax:LuaPackageCPath /path/to/include/?.soa Context:server config, virtual host, directory, .htaccess Override:All -Status:Experimental +Status:Extension Module:mod_lua

Add a path to lua's shared library search path. Follows the same @@ -1768,7 +1763,7 @@ information. Syntax:LuaPackagePath /path/to/include/?.lua Context:server config, virtual host, directory, .htaccess Override:All -Status:Experimental +Status:Extension Module:mod_lua

Add a path to lua's module search path. Follows the same conventions as lua. This just munges the package.path in the @@ -1786,7 +1781,7 @@ LuaPackagePath "/scripts/lib/?/init.lua" Syntax:LuaQuickHandler /path/to/script.lua hook_function_name Context:server config, virtual host Override:All -Status:Experimental +Status:Extension Module:mod_lua

@@ -1807,7 +1802,7 @@ LuaPackagePath "/scripts/lib/?/init.lua" Syntax:LuaRoot /path/to/a/directory Context:server config, virtual host, directory, .htaccess Override:All -Status:Experimental +Status:Extension Module:mod_lua

Specify the base path which will be used to evaluate all @@ -1824,7 +1819,7 @@ LuaPackagePath "/scripts/lib/?/init.lua" Default:LuaScope once Context:server config, virtual host, directory, .htaccess Override:All -Status:Experimental +Status:Extension Module:mod_lua

Specify the life cycle scope of the Lua interpreter which will diff --git a/docs/manual/mod/mod_lua.xml b/docs/manual/mod/mod_lua.xml index 8a647a57641..860e5ee07a9 100644 --- a/docs/manual/mod/mod_lua.xml +++ b/docs/manual/mod/mod_lua.xml @@ -26,7 +26,7 @@ Provides Lua hooks into various portions of the httpd request processing -Experimental +Extension mod_lua.c lua_module 2.3 and later @@ -42,11 +42,6 @@ authorization

More information on the Lua programming language can be found at the the Lua website.

-mod_lua is still in experimental state. -Until it is declared stable, usage and behavior may change -at any time, even between stable releases of the 2.4.x series. -Be sure to check the CHANGES file before upgrading. - Warning

This module holds a great deal of power over httpd, which is both a strength and a potential security risk. It is not recommended -- 2.47.3