Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Having trouble getting my rebol cgi setup

From: rgaither::triad::rr::com at: 7-Feb-2001 21:39

Hi Scott, Ken,
>I run Apache 1.3.14 on Windows 98, so I guess there may be differences given
I am running 1.3.14 as well.
>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
Nope.
>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).
Still there. Ken - Do I need this line active for the file association method to work? When I took the shebang line out altogether I got the Internal Error right away. It seems like Apache is trying to run it - either can't find it thus gives an error or finds it but has execution problems.
>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.
There as well.
>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.
Glad you did! But that didn't fix it either.
>If none of this helps, the let us/me know what error message is generated if >any.
None - just says sending request to localhost... And never comes back.
>Hope that this helps.
Thanks for trying, I'll dig into it a bit and let you know what I missed. Thanks, Rod. Rod Gaither Oak Ridge, NC - USA [rgaither--triad--rr--com]