From: pere.noel@... (=?ISO-8859-1?Q?Une_b=E9vue?=) Date: 2005-12-31T20:06:30+09:00 Subject: apache and eruby i'd like to use eruby with mod_ruby i've installed bothe of them and add some config to Apache (see below) i've tested my config within folder /path/to/www/ruby with a cgi script named "test" , works ok and also within folder /path/to/www with the same cgi script named "test.rbx" => works well ! then, i want to test an "index.rhtml" file within /path/to/www no error message, however the navigator (FireFox) want me to download the file "index.rhtml" instead of visualizing it ! what did i miss here ? a special configuration of mod_ruby to allow eruby ? LoadModule ruby_module /usr/libexec/httpd/mod_ruby.so AddModule mod_ruby.c RubyRequire apache/ruby-run # Excute files under /ruby as Ruby scripts Options ExecCGI SetHandler ruby-object RubyHandler Apache::RubyRun.instance # Execute *.rbx files as Ruby scripts Options ExecCGI SetHandler ruby-object RubyHandler Apache::RubyRun.instance RubyRequire apache/eruby-run AddType application/x-httpd-eruby .rhtml Action application/x-httpd-eruby eruby DirectoryIndex index.rhtml # Handle *.rhtml files as eRuby files SetHandler ruby-object RubyHandler Apache::ERubyRun.instance -- une b�vue