[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Running Lua as CGI handler?
- From: Gilles Ganault <gilles.ganault@...>
- Date: Wed, 05 May 2010 10:42:47 +0200
Hello
I need to configure the Lua interpreter as CGI handler in the compact
Mongoose web server, but I don't know whether the standard Lua for
Windows (http://code.google.com/p/luaforwindows/) package contains
a CGI-capable Lua interpreter, and if yes, which binary I should use?
========
C:\Downloads\lua5_1_4_Win32
<DIR> Microsoft.VC80.CRT
bin2c5.1.exe
lua5.1.dll
lua5.1.exe
lua51.dll
luac5.1.exe
wlua5.1.exe
========
#mongoose.conf
#All files having these extensions are treated as CGI scripts
#Mongoose decides which interpreter to use by looking at the first
line of CGI script.
cgi_ext lua
cgi_interp path_to_lua_CGI_handler
========
In addition, are there some add-on's I should use to make it easier to
write CGI scripts in Lua?
Thank you for any help.