datei = io.open("/tmp/lua_env.txt","w") datei:write("uri.authority: ", string.format('%s', lighty.env["uri.authority"]), "\n") datei:write("uri.path: ", string.format('%s', lighty.env["uri.path"]), "\n") datei:write("uri.path-raw: ", string.format('%s', lighty.env["uri.path-raw"]), "\n") datei:write("uri.scheme: ", string.format('%s', lighty.env["uri.scheme"]), "\n") datei:write("physical.path: ", string.format('%s', lighty.env["physical.path"]), "\n") datei:write("physical.rel-path: ", string.format('%s', lighty.env["physical.rel-path"]), "\n") datei:write("physical.doc-root: ", string.format('%s', lighty.env["physical.doc-root"]), "\n") datei:close()