I can get apache2 to execute .rbx files, but I can't get it to execute .rb files. Here is
the relevant part of my httpd.conf:
<IfModule mod_ruby.c>
# for Apache::RubyRun
RubyRequire apache/ruby-run
<FilesMatch "\.(rbx|rb)$">
Options +ExecCGI
SetHandler ruby-object
RubyHandler Apache::RubyRun.instance
</FilesMatch>
# handle *.rhtml as eruby files.
RubyRequire apache/eruby-run
<FilesMatch "\.rhtml$">
SetHandler ruby-object
RubyHandler Apache::ERubyRun.instance
</FilesMatch>
# debug
RubyRequire auto-reload
</IfModule>
Why don't .rb files execute?
Aso, I can get embedded ruby to work in .rhtml files, but not .html files. Is there a way that I can
get that to work?
thanks,
Ralph