lua-users home
lua-l archive

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


> jason zhang wrote:
> I want to embed the Lua into shttpd to run as a embeded web server.
> Is there existing CGI library for Lua? If no, I have to write a simple one
by myself.

Since there are so many options, you may also want to check CGILua. :o)
http://www.keplerproject.org/cgilua/

In order to use it you can just compile the Kepler CGI launcher for your
platform or write your own SAPI launcher if you prefer:
http://www.keplerproject.org/cgilua/sapi.html

If you use CGILua for your application, it should run unmodified in any of
the other launchers which may be an advantage depending on where you want to
take your app. There's also Xavante if you want to try a smaller web server:
http://www.keplerproject.org/xavante/

Andr?