From: dave Date: 2005-10-31T19:05:33+09:00 Subject: Cgi test failure. Hy, This standard test fails on: server version: Apache/2.0.55 --- require 'cgi' cgi.out{ cgi.html{ cgi.head{ "\n"+cgi.title{"This Is a Test"} } + cgi.body{ "\n"+ cgi.form{"\n"+ cgi.hr + cgi.h1 { "A Form: " } + "\n"+ cgi.textarea("get_text") +"\n"+ cgi.br + cgi.submit } } } } From logs: --- Premature end of script headers: eruby /usr/lib/ruby/1.8/cgi.rb:725:in `out' private method `print' called for "":String ( NoMethodError ) I think it is caused from $DEFAULT_OUTPUT setted to nil. How can i fix that? Tnx, regards. -- >here are more things in heaven and earth, horatio, than are dreamt of in your philosophy. -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Vuoi proteggere la tua casa? Chiedi a Ras come, clicca e fai un preventivo online! Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid@27&d1-10