Question with CGI at JaguarPC..

Chipp Walters chipp at
Wed Feb 20 15:44:55 EST 2008

Hi all,

I'm still trying to get a cgi working at JaguarPC. I've created a folder
mycgi and put the revolution engine in it, etc. I've successfully created a
'helloworld.cgi' which works.

Next I used Jacque's script....changed it to echo.cgi and it works

Then, I created a small cgi, that opens a simple stack and reads from the
first card and outputs it. This works fine using my localmachine webserver.

While part of the script rund, the stack never opens using my Jaguar

Here's the script:


on startup

put "Content-Type: text/plain" & cr & cr
put "Hello World!"
put the files
put cr & the version
--> RETURNS 2.6.6
if there is a file "BasicComments.rev" then
put cr & "found it"

open stack "BasicComments.rev"

put the long name of field 1 of stack "BasicComments.rev" into t
put t
close stack "BasicComments.rev"
put "Can't find it"
end if

put "done"

end startup

I've checked permissions and everything seems ok. The stack is named in the
files list the cgi renders to text, just it never runs. The capitalization
of the stack seems correct. Is there an issue with Linux Rev 2.6.6 engine?
Any help is much appreciated :-)


More information about the Use-livecode mailing list