[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 16:22:25 -0300
Well,
Strange things always happen to newbies :)
The following script works fine at my Linux box at office, using Apache
and having just uploading lua binary to /cgi-bin directory
#!lua
print("Content-type: text/html \n\n")
print("<HTML><TITLE>Testing Lua</TITLE><BODY><H1>")
print("This is my first CGI script entirely written in Lua programming language")
print("</H1></BODY><HTML>")
The same script just do not work at my ISP server as you can see
http://www.revistaeletronica.com.br/cgi-bin/first_lua.cgi
I have other scripts written in REBOL that work perfectly using the
technique of uploading the binary to the same /cgi-bin directory (since
I have no root rights and the administrator refuses to have other
languages than Perl, PHP or Python)
http://www.revistaeletronica.com.br/cgi-bin/first_rebol.cgi
Anyway I would like to try CGILua. Do you mind to make it for me. ?
2005/5/17, Tomas <tomas@ccpa.puc-rio.br>:
Hi Carlos,
> 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?
I don't know exactly the policies of your ISP, but if
you're using another CGI scripts that way, I think it could be done
with CGILua also, using the cgi launcher. Do you want to try?
Tomas
--
*:-.,_,.-:*'``'*:-.,_,.-:
Carlos Lorenz
*:-.,_,.-:*'``'*:-.,_,.-: