[REBOL] Re: Having trouble getting my rebol cgi setup
From: gjones05:mail:orion at: 7-Feb-2001 16:20
Hi, Rod,
I run Apache 1.3.14 on Windows 98, so I guess there may be differences given
the more secure nature of Win2000. If you are successfully running perl
scripts from the cgi-bin directory, then I suspect you basically have done
what you need to do. The only additonal factor that readily comes to mind
is that most scripts will "violate" REBOL's security, so the security level
would need to be changed.
Try changing the #! line at the beginning of the script to:
#!c:/apps/rebol/view/rebol --cgi --secure
or just
#!c:/apps/rebol/view/rebol -cs
If you are using the #!/path/to/rebol approach, then be sure that this line:
#ScriptInterpreterSource registry
in the httpd.conf remains commented (meaning that the pound sign is still
there).
If it still hangs, then be sure that you put:
print "Content-Type: text/html^/"
before REBOL commands. That way, error messages will generally show up,
which can be invaluable in figuring what is wrong.
Finally, (and I say this for completeness because you said you were pretty
new), be sure to restart
Apache. Occasionally, the Windows version won't restart properly (Windows
version is still considered beta), so I simply stop it, then start it fresh.
If none of this helps, the let us/me know what error message is generated if
any.
Hope that this helps.
--Scott
----- Original Message -----
From: "Rod Gaither"
Sent: Wednesday, February 07, 2001 2:25 PM
Subject: [REBOL] Having trouble getting my rebol cgi setup
> Hi All,
>
> While we are on the subject of CGI I'm having trouble getting my setup to
work at home.
> I am running win2000, Apache, Rebol/View 10.38.3.1
>
> I know the basic cgi stuff is working with win2000/apache since I have run
both perl and php scripts so far.
> For a while I got internal system errors, now after changing the top of my
rebol scripts to reference rebol with the full path I get a sending request
message