Welcome to Apache Haus Distribution Forum
LoadModule lua_module modules/mod_lua.so AddHandler lua-script .lua
[Sat Nov 27 20:57:20.544939 2010] [lua:crit] [pid 1424:tid 616] [client 127.0.0.1:50542] lua: Unable to find function handle in C:/Apache2x/htdocs/example.lua, referer: http://localhost/
function handle(r)-- setup the environment r.content_type = "text/html" --r.headers_out["X-Powered-By"] = "mod_lua; " .. _VERSION print = function(s) return r:write(tostring(s)) end r:puts("Hi!") print("Hi!") -- finish return apache2.OKend