Hello,

I am checking out wsapi-xavante for an embedded web-UI project on Linux. I am finding the set-up documentation a bit confusing/absent (I am also new to lua which may be the main problem :), but I have muddled through and done the following:

Used the wsapi-install-1.3.4 script from http://github.com/keplerproject/wsapi/ to install lua, luarocks, wsapi, xavante and their dependencies (locally in my home directory for now).

I found this only provided the basic wsapi and the --cgilua option to the wsapi wrapper would crash with missing cgilua errors if I attempted to use it against a test.lp page. (Should this be a dependency?) To fix this I installed cgilua using the luarocks installed locally and all seemed well...

However HTTP POSTs don't seem to work properly. I can iterate over the cgilua.QUERY table to see GET arguments just fine, but POSTed data or files doesn't seem to make it into cgilua.POST no matter what enctype I use?

Am I going about this the wrong way?

I realise there are more MVC-like frameworks available, but I want to use basic lua pages, at least initially.

Regards,
Alan

_______________________________________________
Kepler-Project mailing list
Kepler-Project@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/

Reply via email to