Are you using windows? (I presume from the path syntax on
the first line)
If so, to use PWS, you need to do the following:
  Add a new string value to:
  HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3Svc\Parameters\Scri
  pt
  Map with name of .r (assuming this is the suffix for the rebol script) 
and data
  value of

  c:\rebol\rebol.exe -cs %s
   (obviously substitute the appropriate path to your executable).

  Your rebol cgi scripts should reside in your PWS Scripts directory.
     In my case, I run from /cgi-bin.
tim
At 02:45 PM 8/10/00 -0800, you wrote:
>Hello,
>
>I've downloaded the scripts from rebol.org and the script library and i'm
>not getting them all to work?
>
>None of them work with the simple CGI script from Elan's book.
>
>#!d:/rebol/rebol.exe -csi
>REBOL[]
>print { Content-Type: text/html^/^/
>Welcome to my first REBOL CGI Script.}
>
>I have got the script to work with Apache and PWS (here i had to take out
>the first line).
>
>Also Webserv won't display even an html document.
>
>Any ideas??
>
>Mike.


Reply via email to