|
Hello World!I'm trying to configure a webserver to use Lua to create web applications.I use lighttpd as my default webserver to run static websites and PHP blogs, so, my obvious choice was lighttpd.Searching in Google and in this list history, I see that would be easy to configure, in fast steps, that I follow:- Install cgilua with luarocks- Install wsapi and wsapi-fcgi with luarocks as dependence- Configure few lines in lighttpd.conf- Restart lighttpdWhen I did this, lighttpd stop to serve my websites.Then I run cgilua.fcgi in terminal, and always I receive this error message:WSAPI error in application: /usr/local/share/lua/5.1/wsapi/common.lua:408: could not find a filename to load, check your configuration or URLstack traceback:[C]: in function 'error'/usr/local/share/lua/5.1/wsapi/common.lua:408: in function 'adjust_non_wrapped'/usr/local/share/lua/5.1/wsapi/common.lua:422: in function 'normalize_paths'/usr/local/share/lua/5.1/wsapi/common.lua:665: in function </usr/local/share/lua/5.1/wsapi/common.lua:663>(tail call): ?[C]: in function 'xpcall'/usr/local/share/lua/5.1/wsapi/common.lua:257: in function 'run_app'/usr/local/share/lua/5.1/wsapi/common.lua:284: in function 'run'/usr/local/share/lua/5.1/wsapi/fastcgi.lua:40: in function 'run'...al/lib/luarocks/rocks/cgilua/5.1.4-1/bin/cgilua.fcgi:33: in main chunk[C]: ?