Re: Re: AH02483: lua: Lua handler 'handle' did not return a value, assuming apache2.OK (mod_lua)

nwe <[email protected]> Fri, 17 Jul 2026 07:30:30 -0500
Newsgroups gmane.comp.apache.user
Message-ID <[email protected]>
On 7/17/26 5:43 AM, Kumaresan S wrote:

> I have already updated my Lua handler to explicitly return 
> `apache2.OK` at the end of the `handle()` function.
>
> For example:
>
> function handle(r)
>     ...
>     return apache2.OK
> end
>
> However, Apache continues to log the following warning for every request:
>
> AH02483: lua: Lua handler handle in /var/www/nonce.lua did not return 
> a value, assuming apache2.OK


If it did not return what you expected I would question whether it 
returned from some other point in your script rather than at 'return 
apache2.OK'?

disclaimer: I have zero experience with Lua and little experience with 
apache2. Most of my scripting experience is with bash and python.