Re: configuring the command line parameters for CGI

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 UTC