[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua and CGI - newbie help
- From: Tomas <tomas@...>
- Date: Tue, 17 May 2005 20:46:54 -0300 (BRST)
> 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 made the same test and it worked! Are you sure the file
has execution permission: "chmod a+x 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)
May I suggest you another ISP? Try www.bayweb.com.br!
They offer CGILua among other languages.
> Anyway I would like to try CGILua. Do you mind to make it for me. ?
Give me a couple of days :-) The binary will run on Linux
right?
Tomas