[REBOL] Re: Trying to get Rebol CGI working on my website
From: gscottjones:mchsi at: 18-Mar-2003 16:03
Hi, Dave,
I suspect that you are feeling frustrated by now. Since no obvious
solutions have popped up, in the spirit of trying to be helpful, I would
like to expound a bit on my original answer, and offer a final suggestion.
The readhyhosting help pages suggest that scripts ending in .pl or .cgi are
automatically run through Perl. Perl sees the first line:
#!/home/your-account/rebol -c
and thinks you what to run yet another program from a shell. Doing a search
on google for the error message that you received shows that PerlIS is an
isapi dll version of perl that does not allow shelling (forking).
There is a slim chance that IIS may allow an alternate extension *if* it
also can pseudo-interpret the shebang (#!) line (this was one of the issues
that I simply do not recall). I would suggest one more trial, and this time
naming the file with the .r extension (leaving all the other instructions
the same as in the tutorial). It will either choke on the name of the
extension, saying that this extension is not allowed, or it may choke due to
a path or naming problem, which is actually good news. Depending on
*exactly* what your first line reads, I might try experiements with the
following additional variations:
#!d:\html\users\mysitesnamecom\html\cgi-bin\rebol.exe -c
#!d:\\html\\users\\mysitesnamecom\\html\\cgi-bin\\rebol.exe -c
#!d:/html/users/mysitesnamecom/html/cgi-bin/rebol.exe -c
--Scott Jones