Things have gone smoothly up to now. I put a file "hello.lua" in a directory with the following contents taken from the :
#!/usr/bin/env /home5/gparchor/public_html/lua/sandbox/bin/wsapi.cgi function hello(wsapi_env) local headers = { ["Content-type"] = "text/html" } local function hello_text() coroutine.yield("<html><body>") coroutine.yield("<p>Hello Wsapi!</p>") coroutine.yield("<p>PATH_INFO: " .. wsapi_env.PATH_INFO .. "</p>") coroutine.yield("<p>SCRIPT_NAME: " .. wsapi_env.SCRIPT_NAME .. "</p>") coroutine.yield("</body></html>") end return 200, headers, coroutine.wrap(hello_text) end but trying to access the URL just outputs the file contents. I know this is something to do with the configuration of the server. Anyone knows what can I do about it ? _______________________________________________ Kepler-Project mailing list Kepler-Project@lists.luaforge.net http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project http://www.keplerproject.org/