Re: Re: AH02483: lua: Lua handler 'handle' did not return a value, assuming apache2.OK (mod_lua)
Eric Covener <[email protected]> Fri, 17 Jul 2026 06:34:59 -0400
| Newsgroups | gmane.comp.apache.user |
|---|---|
| Message-ID | <CALK=YjOB3AWUMLH8iXUsF_z=SAnBAPbenejDkKumc2EjvjYF5g@mail.gmail.com> |
On Fri, Jul 17, 2026 at 4:47=E2=80=AFAM Kumaresan S <kumaresan.s@mind-graph= .com> wrote: > AH02483: lua: Lua handler 'handle' in /var/www/nonce.lua did not return a= value, assuming apache2.OK I think the message speaks for itself. The manual says: 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 apache2.DECLINED, or else an HTTP status code.