running rev cgi on Mac OS X Server

2005-06-04 Thread Todd Higgins
(I am apologize if this is a dupe, this is the 3rd attempt to get  
this message to the list.)


I am trying to run a rev cgi on my Mac OS X Server and I am running  
into an error.  First of all I am following the excellent article on  
http://www.hyperactivesw.com/cgitutorial/  (Thanks for the  
resource.)  I was not able to find the Darwin engine to download, so  
I pulled the executable out of the Revolution.app


I am getting the following error in my web server log when I try to  
run the hello.cgi.


[Fri Jun  3 23:36:59 2005] [error] [client 192.168.254.2]  
Premature end of script headers: /Library/WebServer/CGI-Executables/ 
hello.cgi



When I run the script in the message box I get this error:

Script compile error:
Error description: Handler: error in command

What am I doing something wrong?  I have retyped the script verbatim  
(w/ TextWrangler) and saved it to the server with the proper  
permissions.



hello.cgi script begin --

#!revolution

on startup
  put Content-Type: text/plain  cr  cr
  put Hello World!
end startup

-- script ends

Any suggestions?  Is it possible that the rev engine is not running?   
Or is there something wrong with the formatting of my script?


Thanks in advance.

Todd




___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: running rev cgi on Mac OS X Server

2005-06-04 Thread Björnke von Gierke


On Jun 04 2005, at 14:30, Todd Higgins wrote:

(I am apologize if this is a dupe, this is the 3rd attempt to get this 
message to the list.)


I am trying to run a rev cgi on my Mac OS X Server and I am running 
into an error.  First of all I am following the excellent article on 
http://www.hyperactivesw.com/cgitutorial/  (Thanks for the resource.)  
I was not able to find the Darwin engine to download, so I pulled the 
executable out of the Revolution.app


that's the problem. you need the cgi engine. they are pretty well 
hidden on the rev page right now, but you can find the mac os x version 
on the intro page of the cgitutorial:

http://www.hyperactivesw.com/cgitutorial/intro.html#Installing

--

official ChatRev page:
http://chatrev.cjb.net

Chat with other RunRev developers:
go stack URL http://homepage.mac.com/bvg/chatrev1.3.rev;


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: running rev cgi on Mac OS X Server

2005-06-04 Thread Todd Higgins
Thanks BvG, I could swear that I tried the link from the tutorial  
last night and all I got was a 403 Forbidden page.  It was the  
engine, everything is working now.


Todd


On Jun 4, 2005, at 11:14 AM, Björnke von Gierke wrote:



On Jun 04 2005, at 14:30, Todd Higgins wrote:


(I am apologize if this is a dupe, this is the 3rd attempt to get  
this message to the list.)


I am trying to run a rev cgi on my Mac OS X Server and I am  
running into an error.  First of all I am following the excellent  
article on http://www.hyperactivesw.com/cgitutorial/  (Thanks for  
the resource.)  I was not able to find the Darwin engine to  
download, so I pulled the executable out of the Revolution.app




that's the problem. you need the cgi engine. they are pretty well  
hidden on the rev page right now, but you can find the mac os x  
version on the intro page of the cgitutorial:

http://www.hyperactivesw.com/cgitutorial/intro.html#Installing

--

official ChatRev page:
http://chatrev.cjb.net

Chat with other RunRev developers:
go stack URL http://homepage.mac.com/bvg/chatrev1.3.rev;


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: running rev cgi on Mac OS X Server

2005-06-04 Thread Andre Garzia


On Jun 4, 2005, at 1:23 PM, Todd Higgins wrote:

Thanks BvG, I could swear that I tried the link from the tutorial last 
night and all I got was a 403 Forbidden page.  It was the engine, 
everything is working now.


Todd



Todd,

take a look into libCGI is a real timesaver.  Also if you happen to be 
at RevConWest would be fun to see you there in the CGI track.


Cheers
andre








--
Andre Alves Garzia  2004  BRAZIL
http://studio.soapdog.org

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: running rev cgi on Mac OS X Server

2005-06-04 Thread Todd Higgins
Thanks Andre, I will take a look at it. Is this the same libCGI that  
has a sourceforge website or a different one?


I would love to meet you and the other Revvers, but I will not be  
able to make it out this year. (To many commitments to close  
together)  Someone needs to work on a Revcon East : )


Regards,

Todd

On Jun 4, 2005, at 2:14 PM, Andre Garzia wrote:



On Jun 4, 2005, at 1:23 PM, Todd Higgins wrote:


Thanks BvG, I could swear that I tried the link from the tutorial  
last night and all I got was a 403 Forbidden page.  It was the  
engine, everything is working now.


Todd




Todd,

take a look into libCGI is a real timesaver.  Also if you happen to  
be at RevConWest would be fun to see you there in the CGI track.


Cheers
andre










--
Andre Alves Garzia  2004  BRAZIL
http://studio.soapdog.org

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: running rev cgi on Mac OS X Server

2005-06-04 Thread Thomas McGrath III

I agree. When is it? and Where?

Tom


On Jun 5, 2005, at 12:25 AM, Todd Higgins wrote:



I would love to meet you and the other Revvers, but I will not be able 
to make it out this year. (To many commitments to close together)  
Someone needs to work on a Revcon East : )


Thomas J McGrath III
[EMAIL PROTECTED]

412-831-3094
220 Drake Road
Bethel Park, PA 15102

*)) =
Life should NOT be a journey to the grave with the intention of 
arriving safely in an attractive and well preserved body, but rather to 
skid in sideways - a Cigar in one hand - a large steak in the other - 
your body thoroughly used up, totally worn out, and screaming - WOO 
HOO! What a Ride!

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


running rev cgi on Mac OS X Server

2005-06-03 Thread Todd Higgins
xcellent article on http://www.hyperactivesw.com/cgitutorial/   
(Thanks for the resource.)  I was not able to find the Darwin engine  
to download, so I pulled the executable out of the Revolution.app


I am getting the following error in my web server log when I try to  
run the hello.cgi.


[Fri Jun  3 23:36:59 2005] [error] [client 192.168.254.2]  
Premature end of script headers: /Library/WebServer/CGI-Executables/ 
hello.cgi



When I run the script in the message box I get this error:

Script compile error:
Error description: Handler: error in command

What am I doing something wrong?  I have retyped the script verbatim  
(w/ TextWrangler) and saved it to the server with the proper  
permissions.



hello.cgi script begin --

#!revolution

on startup
  put Content-Type: text/plain  cr  cr
  put Hello World!
end startup

-- script ends

Any suggestions?  Is it possible that the rev engine is not running?   
Or is there something wrong with the formatting of my script?


Thanks in advance.

Todd




___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution