From: Daniel Gruno
Date: Wed, 22 Aug 2012 07:47:56 +0000 (+0000)
Subject: Updates:
X-Git-Tag: 2.4.4~639
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aafc6d590b2fbebff6b28cd040f4d4e9e2aa7a56;p=apache
Updates:
- Authz provider is available in 2.4.3 and later
- Fix whitespace issues
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1375918 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/docs/manual/mod/mod_lua.xml b/docs/manual/mod/mod_lua.xml
index f23a6c7d25..4c4362bf68 100644
--- a/docs/manual/mod/mod_lua.xml
+++ b/docs/manual/mod/mod_lua.xml
@@ -414,9 +414,9 @@ end
r:parseargs() -- returns a lua table containing the request's query string arguments
- r:parsebody([sizeLimit]) -- parse the request body as a POST and return a lua table.
- -- An optional number may be passed to specify the maximum number
- -- of bytes to parse. Default is 8192 bytes.
+r:parsebody([sizeLimit]) -- parse the request body as a POST and return a lua table.
+ -- An optional number may be passed to specify the maximum number
+ -- of bytes to parse. Default is 8192 bytes.
r:puts("hello", " world", "!") -- print to response body
@@ -855,7 +855,7 @@ hook function usually returns OK, DECLINED, or HTTP_FORBIDDEN.
LuaAuthzProvider provider_name /path/to/lua/script.lua function_name
server config
-2.5.0 and later
+2.4.3 and later
After a lua function has been registered as authorization provider, it can be used