Rebol Talk Forum  |  Getting Started  |  Newbie Help  |  Topic: Rebol cgi: followed the tut on Apache but doesn't work
Pages: [1] Print
Author Topic: Rebol cgi: followed the tut on Apache but doesn't work  (Read 307 times)
rebolnotes
Newbie
*
Offline Offline

Posts: 23


View Profile
Rebol cgi: followed the tut on Apache but doesn't work
« on: September 30, 2007, 12:39:11 PM »

I installed PHP zendcore
https://www.zend.com/core/oem_registration.php?access_code=OracleDB

then followed the tut here:
http://www.rebol.com/docs/apache-cgi.html

The apache server respond but when I point to the rebol script test it takes forever and never show anything.

Any idea ?

Thanks.



Logged
btiffin
Jr. Member
**
Offline Offline

Posts: 58


View Profile
Re: Rebol cgi: followed the tut on Apache but doesn't work
« Reply #1 on: October 03, 2007, 02:03:36 AM »

If I had to take a quick guess, the REBOL CGI is not returning a clean HTTP response.  You have to make sure that no stray IO occurs before the

print "content-type: text/html^/"

And that the script terminates somewhat cleanly and doesn't just spin.

Depending on OS, the shebang line can be a delicate thing as well.

#!/path/to/rebol

that starts the script needs to be correct and with the proper execute permissions.

After that, there are only 1001 things that can go wrong.  Smiley

Cheers,
Brian
Logged
Pages: [1] Print 
Rebol Talk Forum  |  Getting Started  |  Newbie Help  |  Topic: Rebol cgi: followed the tut on Apache but doesn't work
Jump to:  

  
Quick Search...

Advanced search
  
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 20, 2008, 10:24:59 AM
Username: Password: Session Length:
  

News: 01-09-08

Alpha version of REBOL 3 has been released!


  
2287 Posts in 596 Topics by 3720 Members
Latest Member: kallUlcerma

  Rebol Talk Forum | Powered by SMF 1.0.9.
© 2001-2005, Lewis Media. All Rights Reserved.

RT design by Defiant Pc