Hello
Now that "hello, world!" is working, I need to find how to run CGI
Lua scripts to handle HTML forms.
1. I compiled uwsgi this way:
=========
UWSGICONFIG_LUAPC=luajit
make lua cgi
=========
But it fails running:
=========
./uwsgi --http :8000 --http-modifier1 9 --uid nobody --gid nogroup
--check-static /tmp/uwsgi-2.0/www cgi = /tmp/uwsgi-2.0/cgi
cgi-allowed-ext = .lua cgi-helper = .lua=lua
unable to load configuration from cgi
=========
Was it badly compiled? How can I check how uwsgi is compiled (Didn't
find running "./uwsgi --help"?
FWIW, /tmp/uwsgi-2.0/cgi/cgi.lua currently only contains this:
=========
print("hello")
=========
2. The wiki doesn't contain an example of what a CGI Lua script looks
like. Would someone have a basic example that shows how to read input
parameters from an HTML form?
http://uwsgi-docs.readthedocs.org/en/latest/CGI.html
Thank you.
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi