Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Rebol as CGI on Iplanet Enterprise NT 4

From: cshelley:aao at: 23-Apr-2001 17:37

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. Looking forward to additional insight. Thanks for your time. Christopher