On Wed, 26 Feb 2014 08:12:58 +0000, Aarni Koskela
<[email protected]> wrote:

>Your Lua script has to conform to the CGI spec, that is send a "Status:" 
>header line with the HTTP status, followed by other HTTP headers, followed by 
>two DOS style newlines, followed by your content.
>
>   print("Status: 200 OK\r\n\r\nHello, world!\r\n") 
>
>should do for a minimal script, but you really do want to use some sort of 
>framework to deal with form data parsing and so on.
>This thread looks like it may be of interest to you. 
>http://lua-users.org/lists/lua-l/2008-09/msg00368.html
>At quick glance, CGILua looks like it's some sort of equivalent to WSGI, and 
>thus probably overkill for your use.

Thanks again. I'll see what's available as a light-weight solution to
handle forms through CGI.

_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to