[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Is there any CGI library for Lua?
- From: Adrian Perez <moebius.lists@...>
- Date: Mon, 30 Oct 2006 10:53:43 +0100
On Mon, 30 Oct 2006 13:58:14 +0800
"jason zhang" <jzhang@sunrisetelecom.com.cn> 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.
You can use the "old" but working "cgi" module from LuaCheia:
http://luacheia.cvs.sourceforge.net/luacheia/luacheia/src/modules/cgi/cgi.lua?revision=1.4&view=markup
Should work out of the box with Lua 5.1 (or Lua 5.0 with compat-5.1).
Documentation and a small example here:
http://luacheia.lua-users.org/doc/cgi.html
Cheers,
--
Vim is like Emacs without all the typing. (John "Johann" Spetz)
Attachment:
signature.asc
Description: PGP signature