From: DeepBlue Date: 2001-11-03T06:48:10+09:00 Subject: [ruby-talk:24213] Re: CGI with Ruby (Win2000) "Jilani Khaldi" wrote in message news:3BE27C80.5719CD3E@tin.it... > > > chad fowler wrote: > > > > > If my script (foo.rb) is called by a html page, what > > > do I have to put > > > here(XXX)? > > >
> > > I have tried many ways but I couldn't have it work. > > > > > > On Linux and FreeBSD it works this way: > > > > > > > What web server software are you running on > > Windows2000? > IIS Have you mapped the extension you want to use with Ruby in your cgi programs into Ruby itself. There is an extension mapper in IIS. EXE's (C++ and Delphi) do not need to be mapped because they run as EXE's. Anything else needs to be mapped so that IIS needs to know how to run the ruby script. Also, in the registry you need to make the same mapping under W3 services. DeepBlue