CORE on linux server
[1/2] from: matt::blis::co::uk at: 4-Sep-2001 14:42
Hi all, this is my first post, please be gentle! :)
I've been trying to set up REBOL/Core on a Linux/CObalt server without much success.
I've
successfully installed CORE and can get it working thru the shell, and enabled CGI to
progess the scripts.
However, due to the setup of the server, the script extensions are .cgi, rather than
the
usual .r
I've tried several different shebangs as follows,
#!/usr/bin/rebol -cs
#!/usr/bin/rebol --cgi -s
#!/usr/bin/rebol -qs
etc...
but they all display the list of runtime options as part of the output.
Does anyone know what I'm doing wrong?
P.S. I haven't altered the .conf file for apache to handle .r, or .cgi as .r, as I thought
the shebang was supposed to remove the need for this as it's being run as a shell script.
Is this likely the problem?
Many thanks,
Matt Burns
[2/2] from: koopmans:itr:ing:nl at: 4-Sep-2001 16:28
Hi Matt,
Try this:
runme.cgi:
#!/usr/bin/sh
rebol -csq myscript.r
Works for me when I have that problem.
--Maarten