From: Daniel Gruno
Date: Mon, 6 Aug 2012 10:14:38 +0000 (+0000)
Subject: LuaAuthzProvider also gets passed the args from the Require directive.
X-Git-Tag: 2.5.0-alpha~6489
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae21c9f99eaf3f69e79632bbce0bea10fd9f41c3;p=thirdparty%2Fapache%2Fhttpd.git
LuaAuthzProvider also gets passed the args from the Require directive.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1369769 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/docs/manual/mod/mod_lua.xml b/docs/manual/mod/mod_lua.xml
index 03afd9f01e4..50769d5f567 100644
--- a/docs/manual/mod/mod_lua.xml
+++ b/docs/manual/mod/mod_lua.xml
@@ -268,7 +268,9 @@ performing access control, or setting mimetypes:
-Hook functions are passed the request object as their only argument.
+
Hook functions are passed the request object as their only argument
+(except for LuaAuthzProvider, which also gets passed the arguments from
+the Require directive).
They can return any value, depending on the hook, but most commonly
they'll return OK, DONE, or DECLINED, which you can write in lua as
apache2.OK
, apache2.DONE
, or