[EMAIL PROTECTED] wrote:

> How do you make REBOL automatically run rebol scripts as CGI, on the
> Macintosh?
>
> If you try to launch a script by typing something like
> "http://127.0.0.1/cgi-bin/my-cgi.r" in your browser, the web server
> treats my-cgi.r as a text file, not as a CGI script.

what kind of web server are you running? In my apache web server config,
there's the definition stating which suffix CGI script is allowed to
have. Default is .cgi. So try to change your .r to .cgi first. CGI
scripts on unix require also some
#!/path/to/your/rebol.exe/on/your/server/rebol.exe --cgi as a first line
...

There's also new chapter called Networking on REBOL.com website ...

-pekr-

>
>
> Many thanks.
>
> Philippe de Rochambeau

Reply via email to