[REBOL] Re: Trying to get Rebol CGI working on my website
From: ingo:h-o-h at: 22-Mar-2003 21:25
Hi Dave,
<disclaimer>
This mail will arrive twice, I first sent from my no more subscribed
email address, so this original mail will first have to be manually
confirmed, that's why I'm sending it again
</disclaimer>
Dave Fobare wrote:
<...>
> I relied on the PATH variable because I wasn't told where it was installed.
>
>> If I understand your previous notes correctly, trying to access
>> hello.r will just get you back the source of that file above.
>
> It appears that the hello.r script indeed executed properly, meaning the
> IPC(lemme guess -- InterProcessCommunication, right?) call worked. Of
> course, the "content-type" string came out again.
>
> Any suggestion on what I should tell the support tech?
I guess two things should be done:
- append .r extension to addhandler directive
maybe you could even do it yourself with an .htaccess file in your
document-root containing the line:
AddHandler cgi-script .cgi .sh .pl .r
- Tell apache to use the rebol executable for .r files, but how this is
done on winows, if #! lines seem to ignored, is way beyond me.
(Maybe it'd work, if they told you _where_ they installed rebol, and
you used the correct path? I don't know ...)
I hope that helps,
kind regards,
Ingo