[REBOL] Re: Rebol as CGI on Iplanet Enterprise NT 4
From: kracik:mbox:dkm:cz at: 24-Apr-2001 9:26
Christopher wrote:
> Hi,
>
> iPlanet Enterprise 4.1 on Windows NT 4.0 sp 6
> The little test snip is
> #!c:/Rebol/rebol -cs
> REBOL [ Title: "CGI Test" ]
> print "Content-type: text/plain^/"
> print "Hello World!"
>
> Of course the first line is not necessary in the Win NT world as the program
> association is handled elsewhere.
> The system will run other scripts which do not write directly to std out.
> I.e., if I call a routine which just appends some info to the end of a file
> and quits.
> That will work okey, so at least we know that Rebol is running etc etc.
> The program association is for a .r file type then run with
> c:\Rebol\rebol.exe -cs %s (or %1) either will work.
^^^^^^
Hi,
I think the command line should be
C:\Rebol\rebol.exe -cs %s %s
^^^^^^^^^
I don't know about iPlanet, but it must be so in IIS 4 and 5.
HTH,
Michal Kracik