[REBOL] Re: Rebol as CGI on Iplanet Enterprise NT 4
From: gjones05:mail:orion at: 23-Apr-2001 19:25
From: "Christopher"
> Greetings,
>
> I have set Rebol up on a number of platforms without a hitch, now this!
> Rebol is installed and config'ed correctly. File association is made.
> Rebol fires and completes script execution properly. Can write to file
> etc etc. But in no way can I get it to write back to the web server to
> send out to the client.
> The error is always:
> failure (302): for host trying to GET /cgi-bin/cgitest.r,
> cgi-parse-output reports: the CGI program c:\Rebol\rebol.exe did not
> produce a valid header (program terminated without a valid CGI header)
>
> Any ideas would be much appreciated.
>
> TIA,
>
> Christopher
Hi, Christopher,
Is the REBOL script sending out the following line before any other html?
print "Content-Type: text/html^/"
If so, then it would be helpful to see a short example script that
reproduces the error, and to know a smidge more about the platform
(presumably some Windows version) and server software.
Hope this helps.
--Scott Jones