From: unbewusst.sein@... (=?ISO-8859-1?Q?Une_B=E9v?= =?ISO-8859-1?Q?ue?=) Date: 2008-04-28T21:00:11+09:00 Subject: Apache2 conf and mod_ruby (mac os x 10.4.11) in my httpd.conf i have : LoadModule ruby_module libexec/httpd/mod_ruby.so ... AddModule mod_ruby.c and : # for Apache::RubyRun RubyRequire apache/ruby-run # exec files under /ruby as ruby scripts. SetHandler ruby-object RubyHandler Apache::RubyRun.instance Options +ExecCGI # for rbx files Options +ExecCGI # exec *.rbx as ruby scripts. SetHandler ruby-object RubyHandler Apache::RubyRun.instance # # for Apache::ERubyRun RubyRequire apache/eruby-run # # # handle files under /eruby as eRuby files by eruby. SetHandler ruby-object RubyHandler Apache::ERubyRun.instance # # # handle *.rhtml as eruby files. SetHandler ruby-object RubyHandler Apache::ERubyRun.instance # # for Apache::ERbRun # RubyRequire apache/erb-run # # # handle files under /erb as eRuby files by ERb. # # SetHandler ruby-object # RubyHandler Apache::ERbRun.instance # # # for debug #RubyRequire auto-reload DirectoryIndex index.html index.rhtml AddType application/x-httpd-eruby .rhtml Action application/x-httpd-eruby /cgi-bin/eruby however any attempt to read a *.rbx or *.rhtml gave me the text content of the script itself. i've checked the syntax of httpd.conf, according to apachectl -t, it is correct. i'm running Mac 0S 10.4.11 with : ruby 1.8.6 (2007-09-24 patchlevel 111) [powerpc-darwin8.11.0] eRuby version 1.0.5 how could i debugg this stuff ? -- Une B�vue