More on Revolution as a CGI Server on OS X

Dave Cragg dcragg at lacscentre.co.uk
Wed Sep 8 17:48:05 EDT 2004


On 8 Sep 2004, at 20:38, Gregory Lypny wrote:
>
> 2.	File locations.  I would like to be able to keep by cgi script 
> files and stacks in a folder nested within the CGI-Executables folder, 
> but I can't seem to get the paths right in my cgi scripts.  If I put 
> the stack and the cgi script in a subfolder named "Pareto-CGI" of 
> CGI-Executables and reference the stack as below, I get a server 
> error.  What am I doing wrong?
>
> #!revolution
>
> on startup
> start using stack "/Pareto-CGI/Subject Registry.rev"
> webTest
> end startup
>
If I understand you correctly, you need to point to the folder above 
for the Rev executable.

#!../Revolution
on startup
   start using stack "Subject Registry.rev"
   webTest
end startup



More information about the use-livecode mailing list