lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On May 4, 2010, at 11:18 AM, Gilles Ganault wrote:

> I'm thinking of using the single-EXE web server Mongoose, configure it
> to call Lua through CGI, have a Lua script take the POSTed parameters
> from the user, turn them into an SQL query, forward the query to the
> SQLite library, and return status and possibly data to the client.

Jason Zhang did something very much like this a few years ago with SHTTPD (which is an earlier version of Mongoose):

http://lua-users.org/lists/lua-l/2006-11/msg00365.html

Mongoose is in a bit of flux at the moment; as of last night the examples weren't working (on OS X anyway), but it is coming together and looks like it would be an excellent basis to implement your single exe web server.

e