]> granicus.if.org Git - apache/commitdiff
Updates:
authorDaniel Gruno <humbedooh@apache.org>
Wed, 22 Aug 2012 07:47:56 +0000 (07:47 +0000)
committerDaniel Gruno <humbedooh@apache.org>
Wed, 22 Aug 2012 07:47:56 +0000 (07:47 +0000)
- 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

docs/manual/mod/mod_lua.xml

index f23a6c7d25a9cf290ba8ea7c887a61811c96015e..4c4362bf6800e1bb8ae8f4cd6319332c2e994b6d 100644 (file)
@@ -414,9 +414,9 @@ end
         r:parseargs() -- returns a lua table containing the request's query string arguments
         </highlight>
         <highlight language="lua">
-        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.
         </highlight>
         <highlight language="lua">
         r:puts("hello", " world", "!") -- print to response body
@@ -855,7 +855,7 @@ hook function usually returns OK, DECLINED, or HTTP_FORBIDDEN.</p>
 </description>
 <syntax>LuaAuthzProvider provider_name /path/to/lua/script.lua function_name</syntax>
 <contextlist><context>server config</context> </contextlist>
-<compatibility>2.5.0 and later</compatibility>
+<compatibility>2.4.3 and later</compatibility>
 
 <usage>
 <p>After a lua function has been registered as authorization provider, it can be used