[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua and CGI - newbie help
- From: Carlos Lorenz <carlos.lorenz@...>
- Date: Tue, 17 May 2005 11:27:52 -0300
Javier,
Thanks for the reply.
Since the web server that runs at my ISP is Apache, and there is no Lua
binaries installed over there, I ask you: if I get CGILua binary
compiled by someone in this list, is it easy to install it on the
server? I mean all I have to do is to upload it to the same directory
where my scripts will be?
2005/5/17, Romulo Bahiense <romulo@icontroller.com.br>:
> Yet I am not sure if I its possible to write CGI programs ONLY using
> lua 5.0binary. Can you tell me?
I can tell: Yes, it is possible. With io.stdin, io.stdout and
os.getenv, you have everything to write a cgi app. But you'll have to
write your own support routines[1] or get borrowed from cgilua (or
whatelse).
--rb
[1] Routines like (en|de)code url strings, read post/multipart data etc.
--
*:-.,_,.-:*'``'*:-.,_,.-:
Carlos Lorenz
*:-.,_,.-:*'``'*:-.,_,.-: