LoadModule ruby_module /usr/lib/apache/mod_ruby.so # for Apache::RubyRun RubyRequire apache/ruby-run # exec files under /ruby as ruby scripts. SetHandler ruby-object RubyHandler Apache::RubyRun.instance Options ExecCGI # exec *.rbx as ruby scripts. SetHandler ruby-object RubyHandler Apache::RubyRun.instance # # for debug # RubyRequire auto-reload DirectoryIndex index.rhtml index.rbx index.html