From: Trey Campbell Date: 2004-01-19T05:29:02+09:00 Subject: Re: mod_ruby(.rbx) newbie Eliminate the line that prints the HTTP status (you can leave the content-type) and you should be in business. Cheers, Trey Ruby Tuesday wrote: > I did exactly what you suggest and still spitting out the result of my > cgi scripts. > > The output of my helloworld.rbx scripts are as follows: > > HTTP/1.1 200 OK > Content-Type: text/html > > > > Hello World > > > >
>

Hello World!

>
> >
>

> HelloWorld on mod_ruby
> Gateway interface: CGI-Ruby/1.1 >

> > > > > > > > David Heinemeier Hansson wrote: > >>> Hi, I was wondering why my .rbx script just print the out out of my >>> ruby scripts ignoring the html tags? >> >> >> >> Did you setup your httpd.conf file accordingly and restart the web >> server? >> >> Sample config for rbx recognition: >> >> LoadModule ruby_module libexec/httpd/mod_ruby.so >> AddModule mod_ruby.c >> >> >> RubyRequire apache/ruby-run >> RubyRequire auto-reload >> >> SetHandler ruby-object >> RubyHandler Apache::RubyRun.instance >> >> >> -- >> David Heinemeier Hansson. >> http://www.loudthinking.com/ -- Broadcasting Brain >> >> >> > >