W3C home > Mailing lists > Public > www-jigsaw@w3.org > May to June 1999

Re: configuring the command line parameters for CGI

From: Benoit Mahe <Benoit.Mahe@sophia.inria.fr>
Date: Thu, 20 May 1999 16:25:43 +0200
Message-ID: <37441B67.63B0B857@sophia.inria.fr>
To: Graham Chiu <gchiu@compkarori.co.nz>
CC: www-jigsaw@w3.org
Graham Chiu wrote:

> I'm having no luck setting up rebol.exe (http://www.rebol.com) to
> execute rebol.r scripts on WinNT 4, and 2.0.2.
>
> I've set up the default indexer to recognise the .r extension, and added
> a cgi.frame which points to the rebol executable.
>
> Now rebol requires the parameters --cgi -s  as in
>
>         rebol --cgi -s myscript.r
>
> to tell it to run as cgi, and to set the security level.
>
> When I set the intepeter ( that spelling mistake is still in the new
> Jigadmin ) to be
>
>         c:\rebol2\rebol.exe
>
> without the parameters, then it brings up rebol and executes the script
> in its own window which is expected.
>
> If I set intepeter to

Fixed now, thank you.

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

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 Thursday, 20 May 1999 10:25:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:29 GMT