From: ts Date: 2003-03-20T00:02:02+09:00 Subject: Re: Why does basic cgi example fail on Apache/Windows? >>>>> "C" == Chris Morris writes: C> print "HTTP/1.0 200 OK\r\n" Don't send this line. C> print "Content-type: text/html\r\n\r\n" C> print "Hello World!\r\n" C> Error log says: C> malformed header from script. Bad header=HTTP/1.0 200 OK: test.rb ^^^^^^^^^^^^^^^ This line must be send only if the script is an NPH (non-parse-header) script The server will generate the appropriate lines when it will receive "Content-type: text/html" Guy Decoux