From: Kent Dahl Date: 2004-03-05T01:04:42+09:00 Subject: Re: mod_ruby & Apache Dr. Ephemeron wrote: > mod_ruby is reported installed by Apache and I can make a test *.rhtml file > in my html directory and it works fine. > > When put a *.rbx file in my cgi-bin directory and browse it with Mozilla > 1.4, it prints, but it prints everything in the file like this: > > HTTP/1.1 200 OK > Content-type: text/html > > " section that tells Apache to feed .rbx files in the cgi directory to mod_ruby? The config for one of my setups, where I use a separate directory for all things .rb[x]-like is: RubyRequire apache/ruby-debug RubyTimeOut 60 #Execute files under /ruby as Ruby scripts SetHandler ruby-object RubyHandler Apache::RubyDebug.instance RubySafeLevel 2 Options ExecCGI ....but this is on Apache 1.3.29. -- (\[ Kent Dahl ]/)_ _~_ _____[ http://www.pvv.org/~kentda/ ]_____/~ ))\_student_/(( \__d L b__/ Master of Science in Technology ) ( \__\_�|�_/__/ ) _) Industrial economics and technology management ( \____/_�_\____/ (____engineering.discipline_=_Computer::Technology___)