OS X Rev CGI engine failure

Jim Ault JimAultWins at yahoo.com
Fri Sep 19 03:45:42 EDT 2008


What version of OSX are you running?
If you upgraded to Leopard from Tiger, there are a few issues with the new
Apache file paths.. easy to fix, but you need to know which things to do.

For a quick test, why not do a very, very easy install of MAMP (Mac Apache
MySql Php) that downloads as an app, and runs as a separate web server on
your localhost.  Drag MAMP to the trash and its entire environment is gone.

(Inside the MAMP folder is the htdocs/ root folder for your html docs, and a
cgi-bin for your Rev cgi.  The port you will need to use is 8888)  This can
be turned off and on from the Dashboard, just like personal web sharing.

There is a Win version as well called WAMP.

Hope this gives you a few more options for testing.
I am running Tiger upgraded to Leopard on a G5 (non-intel) and Rev 2.9

Jim Ault
Las Vegas

On 9/18/08 10:12 PM, "J. Landman Gay" <jacque at hyperactivesw.com> wrote:

> I'm trying to do some CGI testing on my OS X machine locally. For ages
> I've been using an old copy of MetaCard locally but I just tried Rev
> (both 2.9.1 and 3.0). I can't get the it to run.
> 
> The script, permissions, etc. are correct. The Rev engine is the
> Runtime/Standalone engine from inside the the app bundle. The script's
> shebang line has the -ui flags set. If I run the cgi script from
> Terminal it works fine. But if I run it from a browser or do a "get url"
> from Rev's message box I get this server error:
> 
> "could not establish the default connection to the WindowServer [date
> and stuff] Premature end of script headers: "
> 
> If I change the declaration to point to the old copy of MetaCard in the
> cgi folder, the script runs fine. Anyone know why Rev is trying to load
> the window manager? And why only when called from a browser?
> 
> Andre, are you there? :)





More information about the use-livecode mailing list