Ammon wrote:
> print "Content-Type:text/plain^/"
I think this needs to be:
print "Content-Type: text/plain^/"
Note the space after the colon ":".
I hope that helps!
Andrew Martin
Racing to beat the computer freeze...
ICQ: 26227169 http://valley.150m.com/
-><-
----- Original Message -----
From: "Ammon Johnson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 11, 2002 9:23 AM
Subject: [REBOL] CGI
> 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
> --
> To unsubscribe from this list, please send an email to
> [EMAIL PROTECTED] with "unsubscribe" in the
> subject, without the quotes.
>
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.