From: Jilani Khaldi Date: 2001-04-01T05:38:00+09:00 Subject: [ruby-talk:13396] FCGI-Ruby - What am I missing - Solved. > I have installed fcgi-ruby extension, and I tried this little example: > > #!/usr/local/bin/ruby > require "fcgi" > > FCGI.each_request do |req| > puts "Content-type: text/html\n\n" > puts "" > end > > but I get this error: "Internal Server Error ..." > > What's wrong with it? > > Thanks. > > ps > Ruby-1.6.2 on Linux with fast-cgi module installed and works fine with > examples written in C. I have just changed the extension of the scrips ".rb" to ".cgi" and it is working now.