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

[REBOL] Re: Testing REBOL CGI under Win95

From: gjones05:mail:orion at: 11-Jun-2001 4:36

Hi, again, Geza, By the way, I forgot to mention in the configuration email I sent earlier (which will probably show up after this one because of the email list server software) that it is helpful Be sure and add the following first line to your scripts: #!c:/path/to/rebol/rebol --cgi --secure or just #!c:/path/to/rebol/rebol -cs It is very helpful to place: print "Content-Type: text/html^/" very early in the script. If there is an error, it will allow the error information to be printed! Here is a very simple first script to try to be sure everything is working. Place this script in the cgi-bin directory and call it time.r. #!c:/path/to/rebol/rebol -cs REBOL [Title: "Time"] print "Content-Type: text/html^/" print ["The time is now" now/time] Be sure to start Apache, then in a browser, type: Good luck! --Scott Jones