Page 1 of 1
CGI Setup on Mac OS X Server (Leopard)
Posted: Wed Apr 07, 2010 6:57 pm
by Redlance305
Spent two days trying to get the simple "hello.cgi" app to work on one of our Xserves. Keep getting the 500 error message (script not completed). Followed the following:
http://www.runrev.com/newsletter/july/i ... tter2.html (Parts 1 & 2)
(there was another guide very much like this one, but it also didn't work)
Attempted to use:
http://revonline2.runrev.com/stack/267/ ... v-CGI--1-1
Looked hopeful but never worked.
Any step-by-step guides to setting up CGI, with file locations, requirements, etc?
Could really push the abilities of runrev/revtalk/reEnterprise/whatever if I could get his working!
Thanks
~David
Re: CGI Setup on Mac OS X Server (Leopard)
Posted: Wed Apr 07, 2010 7:34 pm
by Klaus
Hi David,
what engine did you put into your CGI folder?
Re: CGI Setup on Mac OS X Server (Leopard)
Posted: Wed Apr 07, 2010 7:51 pm
by Redlance305
As per the instructions, I copied the file from:
/Revolution Enterprise/4.0.0-gm-1/Runtime/Mac OS X/Universal/Standalone
tried renaming it to "revolution" as per instructions, used "standalone". At one point I even copied the "Revolution" file from:
/Revolution Enterprise/4.0.0-gm-1/Revolution
renamed it to both "revolution" and "standalone". Of course it did NOT work.
~David
Re: CGI Setup on Mac OS X Server (Leopard)
Posted: Wed Apr 07, 2010 8:05 pm
by BvG
you can't use the 4.0 engine. The lates version that can be used as cgi engine is 3.5. If you bought rev after 4.0 came out, or deleted your 3.5 installation, mail support so you can get a fresh copy.
Re: CGI Setup on Mac OS X Server (Leopard)
Posted: Wed Apr 07, 2010 8:20 pm
by Klaus
Yep, 3.5 will work.
And you only need the executable (Standalone.app/COntents/MacOS/Standlone) NOT the app bundle!
Re: CGI Setup on Mac OS X Server (Leopard)
Posted: Wed Apr 07, 2010 8:42 pm
by Redlance305
Totally correct, I removed the executable from the bundle per the instructions (we do that type of thing on a daily bases in building our apps, scripts, etc.)
Emailed Support for the file(s)!
Thanks!
~David
Re: CGI Setup on Mac OS X Server (Leopard)
Posted: Wed Apr 07, 2010 8:59 pm
by RRobert
See also
this post. In case you like to use the 4.0 engine.
Robert
Re: CGI Setup on Mac OS X Server (Leopard)
Posted: Thu Apr 08, 2010 6:44 pm
by Redlance305
Received version 3.5 from RunRev (Thanks!)
Worked the first try! Fantastic!
Why would they remove this function/feature? Anyway, everything works when running the 3.5 runtime under OS X, as per the instruction listed before.
Again, thanks runrev!
~David
Re: CGI Setup on Mac OS X Server (Leopard)
Posted: Thu Apr 08, 2010 10:17 pm
by FourthWorld
I don't think it's been removed as much as merely delayed.