From: "Bernard Delmée" Date: 2001-08-30T04:22:43+09:00 Subject: [ruby-talk:20552] Re: CGI in Ruby with Apache and Exec "Phillip Hilton" wrote : > 1: I can't seem to run my Ruby CGI scripts through my apache web > server (under windows). My Perl scripts run fine. > Assuming ruby is on your path (typically C:\Ruby\bin), and that option "ExecCGI" has been enabled in the cgi-bin directory, the following works fine: -------- #!ruby print "Content-type: text/html\r\n\r\n" print "Hello World!\r\n" -------- Just don't forget that 1st shebang line. HTH, Bernard.