[REBOL] Re: [REBOL]Re:Trying to get Rebol CGI working on my website
From: nitsch-lists:netcologne at: 22-Mar-2003 8:23
Dave Fobare wrote:
> I'm back!
> I just got a message from a tech at ReadyHosting.com, my Win2K host.
> Short and sweet he tells me:
> "03/21/03 - Rebol031.exe installed on 188.8.131.52 for
> Sooooo......, I try to execute the "hello, world" example --- now.cgi.
> Here is what comes back to my browser:
> Bareword found where operator expected at
> d:\html\users\the-sports-pagecom\html\cgi-bin\now.cgi line 5, near
> ""Date/time is:" now"
> (Missing operator before now?)
> syntax error at d:\html\users\the-sports-pagecom\html\cgi-bin\now.cgi
> line 2, near "REBOL ["
> Search pattern not terminated at
> d:\html\users\the-sports-pagecom\html\cgi-bin\now.cgi line 6.
> The "shebang" line looks as though it is being ignored -- I've done
> all sorts of things to it(including eliminating it) and still get the
> same message. Yet why do my perl scripts work ok? Don't get it. Is the
> above really a Perl error message? I want to get my ducks in a row
> before I write back to him.
> Dave Fobare
Eventually try as "now.r" instead of "now.cgi"? it may choose
interpreter by file extension, so *.pl, *.cgi -> perl, *.r -> rebol.