John Dutcher napsal(a):
> This is the shebang line at the beginning of my blog.r script:
>
> #!c:\program files\abyss web server\htdocs\cgi-bin\rebol.exe -cs
>
> It does, in fact, point to the Windows directory on my local server where
> the Rebol core and the blog.r script both are placed.
>
> When I load the browser address with "http://localhost/cgi-bin/blog.r" the
> server fails with a 500 error and the log shows this message:
>
> CGI: ["C:\Program Files\Abyss Web Server\htdocs\cgi-bin\rebol.exe" -cs
> blog.r ] URI: /cgi-bin/blog.r Bad CGI header line
>
> Anyone see what I am missing ??
>
> John D.
>
>
>
> ---------------------------------
> Food fight? Enjoy some healthy debate
> in the Yahoo! Answers Food & Drink Q&A.
>
>
what you are missing is:
REBOL []
print {Content-Type: text/html^/^/} ;-- Required Page Header
which should be put after the shebang line
-L
--
To unsubscribe from the list, just send an email to
lists at rebol.com with unsubscribe as the subject.