From ae21c9f99eaf3f69e79632bbce0bea10fd9f41c3 Mon Sep 17 00:00:00 2001
From: Daniel Gruno
Date: Mon, 6 Aug 2012 10:14:38 +0000
Subject: [PATCH] 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
---
docs/manual/mod/mod_lua.xml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
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
--
2.47.2