Still having problems with rev as CGI

Alex Tweedly alex at tweedly.net
Wed Dec 1 19:00:07 EST 2010


Thanks to those who helped me get rev running as CGI on on-rev.

Unfortunately, although I can run basic scripts, I am having trouble 
getting those scripts to access other stacks.

I have the script, and the other stack, in my cgi-bin folder, with 
permissions set to 755
Here's the script

> #!revolution -ui
>
>
> on startup
> put "Content-Type: text/plain" & cr & cr
>
> put the detailed files into t
> filter t with "new*"
> put t
>
> put the files into t
> filter t with "new*"
>
> put "left with " & t & CR
>
> if there is no stack t then
>  put "cannot find stack"
> else
>
> end if
>
> put "Using" && the stacksinuse
>
> end startup
>
and here's the output
> new.livecode,234,,,1291247430,1291247604,,527,527,755,
> left with new.livecode
> cannot find stack
> Using
Help ?

Thanks
-- Alex.




More information about the use-livecode mailing list