I got the engine from the revolution site in the current folder. Since 2.6.1 is the most current folder I am assuming that I picked up the 2.6.1 engine. Is there an easy way to verify?
Also where might I get a 2.8.x engine? -= Mike -----Original Message----- From: Andre Garzia [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2008 4:05 PM To: How to use Revolution; Michael Doub Subject: Re: CGI's on a linux server Michael, did you solved this? I suspect that the permissions are wrong, or that the stackfile format is wrong. The correct permission is 755. I don't think the rockets cgi stackfile is saved in the new format, just in case, I've uploaded new version that I am sure is in the old stack file format. What revolution version are you using on your server? If you're using any 2.6.x series and the stack is in the new 2.8.x series, then you need a old stack file format version. You can open it in the IDE and save as legacy version or you can download a new copy from my site. best Andre On 3/11/08, Michael Doub <[EMAIL PROTECTED]> wrote: > I have been able to install the current engine on my ISP's linux server in > cgi-bin and am able to run the simple hello world script. I am now trying > to take the next step in having my script "start using" another stack but I > am having difficulties. > > > > #!revolution > > global gDataA > > on startup > > start using stack "rocketscgi.rev" > > put the defaultFolder into foo > > cgiOutput foo > > end startup > > > > This is generating the following message in the server log: > > > > [Tue Mar 11 20:56:49 2008] [error] [client 99.236.160.190] Premature end of > script headers: /home/doub/public_html/cgi-bin/helloworld.cgi > > /home/doub/public_html/cgi-bin/revolution: Script execution error at line 4, > column 9 > > > > I have tried numerous permissions on the "rocketscgi.rev" stack file and as > you can see have even tied to force the name to all lower case. > > > > Can someone advise me as to what the permission of a stack should be? > > > > Also the following script returns the correct path to cgi-bin: > > > > #!revolution > > global gDataA > > on startup > > -- start using stack "rocketscgi.rev" > > put the defaultFolder into foo > > cgiOutput foo > > end startup > > > > on cgiOutput pBody > > if param(2) is not empty then > > put param(2) into tMimeType > > else > > put "text/html" into tMimeType > > end if > > put "Content-Type: "& tMimeType & cr > > put "Date:" && the internet date & cr > > put "Host:" && $SERVER_NAME & cr > > put "Content-Length:" && the length of pBody & cr & cr > > put pBody > > if the environment is not "development" then quit > > end cgiOutput > > > > I am quite sure I am missing something simple, but I am currently stumped. > > > > -= Mike > > > > _______________________________________________ > use-revolution mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
