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

[REBOL] Re: Trying to get Rebol CGI working on my website

From: al:bri:xtra at: 18-Mar-2003 17:19

Yek Soon wrote:
> Does anyone know how to "encourage" IIS to run additional cgi scripts > through an added in scripting exe? > > I have not use IIS for a long time. But here is a wild guess. > > Windows generally uses the registry for mapping to extension. > Try looking for something as follows under "regedit": > > HKEY_LOCAL_MACHINE System CurrentControlSet Services > W3Svc Parameters Script_Map Once there you > wantto EDIT --> New --> String Value to add a new extension association of > ".cgi" Then MODIFY the new ".cgi" entry to associated it with the rebol > executable, eg > "C:\rebol\rebol.exe %s %s" Here "C:\rebol\" may be different on your > system and note that you must end with .exe. > > Now restart the computer to get the new setting. > > After that any script in a directory that the server sees as EXECUTABLE
(eg,
> the default "scripts" directory) which ends in *.cgi will be sent to the > rebol interpreter.
I've been using Rebol CGI with Windows 2000 and IIS for around six months now. This doesn't seem like the way we set up IIS to run Rebol as a CGI process (though it does seem familiar). We got it going a lot easier than this. Unfortunately, I've forgotten how to do it!! I believe there's a tutorial on IIS 5 from the MS help site which shows how to set up generic CGI scripts which was helpful? Andrew Martin ICQ: 26227169 http://valley.150m.com/