I'm having trouble configuring mod_ruby.


I followed the steps ([url]www.modruby.net):[/url]

1. Verified that Web server (apache 2) was installed and
running properly,
Package: apache2-2.0.47-1.3.91mdk

2. Loaded mod_ruby,
Package: mod_ruby-1.1.1.tar.gz

3. Added the following lines to
/etc/httpd/conf/httpd2.conf:

-----%<-------------------------------
<IfModule mod_ruby.c>
# for Apache::RubyRun
RubyRequire apache/ruby-run

# exec *.rbx as ruby scripts.
<Files *.rbx>
SetHandler ruby-object
RubyHandler Apache::RubyRun.instance
</Files>

# for Apache::ERubyRun
RubyRequire apache/eruby-run

# handle *.rhtml as eruby files.
<Files *.rhtml>
SetHandler ruby-object
RubyHandler Apache::ERubyRun.instance
</Files>
</IfModule>
-----%<-------------------------------

4. apachectl restart
Came up fine, no problemo


To test, I put a sample file into the cgi-bin
directory, /var/www/cgi-bin/helloruby.rbx
Made sure the permissions were like other files
in cgi-bin.


Test:

When I tested a perl cgi-bin file, no problem.

However, calling any file with a .rbx extension

ex. [url]http://localhost/cgi-bin/helloruby.rbx[/url]

Apache barked and threw an http status error,
500, "Server Error")


This is what the browser shows:

Internal Server Error

The server encountered an internal error or misconfiguration and was
unable to complete your request.

Please contact the server administrator, rootlocalhost and inform
them of the time the error occurred, and anything you might have done
that may have caused the error.

More information about this error may be available in the server error
log.
Apache-AdvancedExtranetServer/2.0.47 (Mandrake Linux/1.3.91mdk)
mod_ruby/1.0.7 Ruby/1.8.0 Server at fugu.happybug.com Port 80


Any URL I input in the browser with a .rbx extension,
will give the above error. Even a file that doesn't
exist.


Thanks in advance.