Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] CGI

From: ammon:rcslv at: 10-Apr-2002 14:23

Hi, I have been attempting to set up REBOL to do GI for my Webserver (Apache) I keep getting this error in the Apache Error Log: [Wed Apr 10 14:05:14 2002] [error] [client 172.30.8.19] Premature end of script headers: /var/www/cgi-bin/login.r Here is the script in its entirety: #!/usr/lib/rebol/command/rebol -cs REBOL[] print "Content-Type:text/plain^/" print "testing" That is where REBOL is installed on my machine. I have run the script from command line: [[root--uno] root]# /usr/lib/rebol/command/rebol -cs /var/www/cgi-bin/login.r Content-Type:text/plain testing So what are your suggestions? Thanks!! Ammon