Hi Ammon,

http header ends with *TWO* newlines

print "Content-Type:text/plain^/^/"

and you should be off to the next problem.


On Wed, 10 Apr 2002, Ammon Johnson wrote:

> 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.

Reply via email to