From: jbritt@... Date: 2003-03-19T01:20:49+09:00 Subject: Re: ruby + windows + apache > You should be able to copy/paste the CGI example there to a file -- change > the extension to .cgi, put it in the cgi-bin folder of your Apache > hierarchy -- and a shebang line like: > > #! c:/ruby/bin/ruby.exe > > (of course, putting the path to your ruby.exe, and yes, use forward slashes > even on Windows, Apache will take care of interpreting it correctly) > > as the first line in your file and you're set. > BTW, Apache-on-Windows allows you to tell Apache (via some line in http.conf; read the in-file comments) to use the Windows registry to determine where to find the ruby interpreter (i.e., based on file type association). This is handy if, for example, you're trying to develop cross-platform code and don't want to have to keep changing the shebang line. James