=begin = mod_ruby Install Guide [(()) |(())] * (()) * (()) * (()) == Install Install mod_ruby like this: $ tar zxvf mod_ruby-x.y.z.tar.gz $ cd mod_ruby-x.y.z/ $ ./configure.rb --with-apxs=/usr/local/apache/bin/apxs $ make # make install == Configure Apache Add these lines to httpd.conf. LoadModule ruby_module /usr/local/apache/libexec/mod_ruby.so # ClearModuleList # AddModule mod_ruby.c RubyRequire apache/ruby-run # Excucute files under /ruby as Ruby scripts SetHandler ruby-object RubyHandler Apache::RubyRun.instance # Execute *.rbx files as Ruby scripts SetHandler ruby-object RubyHandler Apache::RubyRun.instance == Use eRuby Install eruby, and add these lines to httpd.conf. RubyRequire apache/eruby-run # Handle files under /eruby as eRuby files SetHandler ruby-object RubyHandler Apache::ERubyRun.instance # Handle *.rhtml files as eRuby files SetHandler ruby-object RubyHandler Apache::ERubyRun.instance =end