From: Martin Maciaszek Date: 2002-01-08T12:19:27+09:00 Subject: Re: eruby only generates text/plain In article <20020107184859.B66162@ninja1.internal>, Sean Chittenden wrote: > > Eh, just a guess, but I think your httpd.conf isn't correct. > > conf_file.gsub!(/RubyRequire apache/erb-run/, 'RubyRequire apache/eruby-run') > You're right. The error disappeared. But I still have problems generating html-pages. Even this simple script is displayed as text/plain. <% puts "

Hello, world!

" %> Eruby always sends "Content-Type: text/plain". I copies the config from mod_ruby's examples directory into my apache config. I even tried the configuration guide from the "Programming Ruby" book. Both ways failed. I'm stuck. Cheers Martin