My hunch is that nginx is not passing REQUEST_METHOD correctly. Check this message:
http://kepler-platform-mailing-list.1133559.n2.nabble.com/Wsapi-and-spawn-fcgi-td3809309.html#a3810373 And this blog post: http://mascarenhas.github.com/2009/10/24/wsapi-nginx-fcgi.html The list archives has more info about the WSAPI+nginx+FastCGI combo. -- Fabio Mascarenhas On Fri, Nov 19, 2010 at 9:17 PM, jseb <gmane2...@finiderire.com> wrote: >> Sorry, this is an old bug fixed in github... I have decided to release >> WSAPI 1.4, which includes this fix. Please see the announcement email. > > Thank you for your answer. > > I did the upgrade, and still got an error (but a different one). > Perhaps a problem in my configuration ? I need to learn more on Lua before > investigating... > (wsapi alone keeps running). > > btw, the samples here seems a bit outdated, don't they ? > http://luanova.org/orbit1-2/ > > Here is the error i get, with the "hello world" from orbit. > > > > There was an error in the specified application. The full error message > follows: > > /usr/share/lua/5.1//orbit.lua:466: attempt to get length of field '?' (a nil > value) > stack traceback: > /usr/share/lua/5.1//orbit.lua:466: in function 'dispatcher' > /usr/share/lua/5.1//orbit.lua:522: in function > (tail call): ? > (tail call): ? > stack traceback: > /usr/share/lua/5.1//coxpcall.lua:24: in function > (tail call): ? > (tail call): ? > (tail call): ? > [string " local app_name, bootstrap_code, is_file =..."]:67: in > function <[string " local app_name, bootstrap_code, is_file =..."]:64> > > > > > _______________________________________________ > Kepler-Project mailing list > Kepler-Project@lists.luaforge.net > http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project > http://www.keplerproject.org/ > _______________________________________________ Kepler-Project mailing list Kepler-Project@lists.luaforge.net http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project http://www.keplerproject.org/