[Q] cannot exec *.rbx with mod_ruby

K

kwatch

I'm setting up Apache2(2.0.40) + mod_ruby(1.0.7) + eruby(1.0.4).
I succeeded to execute *.rhtml as eruby script, but failed to
execute *.rbx as mod_ruby script.
(platform: RedHat Linux 8.0)

httpd.conf:
--------------------
LoadModule ruby_module /usr/lib/httpd/modules/mod_ruby.so
<IfModule mod_ruby.c>
RubyRequire apache/ruby-run
RubyRequire apache/eruby-run
#RubyRequire auto-reload
<Files *.rbx>
SetHandler ruby-object
RubyHandler Apache::RubyRun.instance
#Options ExecCGI
</Files>
<Files *.rhtml>
SetHandler ruby-object
RubyHandler Apache::ERubyRun.instance
</Files>
</IfModule>
--------------------

When I comment out a line 'Options Exec CGI',
Apache2 reports the following error.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top