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

Re: configuring the command line parameters for CGI

From: Graham Chiu <gchiu@compkarori.co.nz>
Date: Fri, 21 May 1999 17:21:32 -0400 (EDT)
Message-ID: <5GHXkBA$0cR3EwrX@compkarori.co.nz>
To: www-jigsaw@w3.org
In message <37450978.D80AA4BE@sophia.inria.fr>, Benoit Mahe
<Benoit.Mahe@sophia.inria.fr> writes
>> 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?
>

I think I've found the problem, and it may be another bug in the
cgiFrame.

If I use the indexer, I get no content.  If, however, I modify the
cgiFrame for this script, and add the complete path to the script as the
3rd parameter in the command panel, it works.

Command Pane
--cgi
-s
f:\Jigsaw\Jigsaw\WWW\cgi-bin\test.reb

suggesting that the server is not passing the filename to the
interpreter where there are command line parameters present.

There's also another problem.  My .r extension has become associated
with notepad.exe, and tries to execute notepad.exe even though I am
pointing to rebol.exe.  I can't see where I can remove that association
so have changed the extension pro tem.


-----------------------------------------------------------------------
Regards,        Graham Chiu
Received on Friday, 21 May 1999 17:35:06 GMT

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