Re: configuring the command line parameters for CGI

Graham Chiu wrote:

> In message <37441B67.63B0B857@sophia.inria.fr>, Benoit Mahe
> <Benoit.Mahe@sophia.inria.fr> writes
>
> >>         c:\rebol2\rebol.exe --cgi -s
> >>
> >> the browser complains that it can't find the script's resource.
> >
> >Well, I just found a bug in CgiFrame, only the first line of the command line
> >was given to the cgi script. The bug is fixed now, please check for a new
> >development
> >release at [1].
> >
> >[1] http://jigsaw.w3.org/Devel/classes/
> >
> >>
> >>
> >> I've tried placing the parameters in the command field and that didn't
> >> help.
> >
> >That's the way it should work (with the bug fixed).
>
> Thanks for the prompt response.
>
> I've downloaded the new jigsaw.zip file, but I'm still having problems.
> The browser now complains that the document contained no data.
>
> This is the test.r I'm using.
>
> REBOL []
> print [ "Content-type: text/html" newline ]
> print [ "<HTML><HEAD><TITLE>Test Page</TITLE></HEAD>" ]
> print [ "<BODY><P>" ]
> print now
> print [ "</P></BODY></HTML>" ]
>
> -----------------------------------------------------------------------
> Regards,        Graham Chiu

Humm, I don't know what's happen. Could you check that your script is called with

the right options?

Regards, Benoit.

--
- Benoît Mahé -------------------------------------------------------
                      World Wide Web Consortium   (W3C)
                    Architecture domain - Jigsaw Engineer

                http://www.w3.org/People/Mahe  - bmahe@w3.org
---------------------------------------------------------------------

Received on Friday, 21 May 1999 03:21:39 UTC