From: Douglas Livingstone Date: 2005-01-29T03:34:31+09:00 Subject: Apache -> malformed header from script Hi all, I'm on windows xp trying, playing with Ruby on Apache. I've put this in httpd.conf: AddHandler cgi-script .rb And this in index.rb: #!ruby print "HTTP/1.0 200 OK\r\n" print "Content-type: text/html\r\n\r\n" print "Hello World!\r\n" This comes up as a 500 error, with this in the log file: malformed header from script. Bad header=HTTP/1.0 200 OK: index.rb Any idea what I'm missing? Thanks, Douglas