HTTP/1.0 200 OK Content-Type: text/html
This is a test page of mg.include in a Lua server page, served by the CivetWeb web server.
script = string.gsub(mg.script_name, "page3.lp$", "page2.lp") mg.write("Output of " .. script .. ":\n") ?>
mg.include(script) ?>