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

[REBOL] Registry Entry For CGI - Windows XP

From: tim-johnsons::web::com at: 16-Feb-2005 12:32

I'm in a real bind here. I'm trying to do CGI programming on Windows XP, testing with the windows version of apache, to be deployed on a linux server, also using apache. The Windows apache server on my machine is properly configured to ignore the she-bang line (top line) of a script. This should enable me to place #!/usr/bin/rebol at the top line of a script and have it accepted by the linux server. This works for python, because the python setup program has written the appropriate regestry entries, but sadly (and in my opinion wrongly) rebol has no setup process that does this. And I'm getting "couldn't spawn child process" errors from apache. On the other hand, if I disable the ScriptInterpreterSource directive, then I have to resolve the differences between #!rebol on windows and #!/usr/bin/rebol on linux, which is what my domain hoster wants, and *that* introduces greater possibilities of error if one uploads a script without changing the shebang line. Please note: This is Windows XP *not* windows 98, apache *not* IIS. I'm familiar with the IIS/Windows 98 windows registry entries to enable this. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC \Parameters does not have a ScriptMap key, and adding one doesn't help. Has anyone got this working successfully? thanks tim