Global scripts.

"Moral, Roberto" <[email protected]> Tue, 20 Dec 2005 11:01:29 -0500
Newsgroups gmane.comp.apache.mod-ruby
Message-ID <6618C76E545FD9438EEC879CE0659A0870FA73@NJCHLEXCMB01.cable.comcast.com>
Hello All,
 
Sorry if this has been asked before, I couldn't find a repository of the
mailing list to search.
 
I am trying to enable mod_ruby globally in all the directories not only
in /ruby. I've added the:
 
SetHande ruby-object
RubyHandler Apache:RubyRun.instance
 
and the <files> directive to my DocRoot directory and my public_html
directory directive but I can't get it to work. I also enabled the
ExecCGI to the public_html.
This are the errors I am getting:
 
[Tue Dec 20 10:31:14 2005] [notice] Apache/2.0.55 (Unix) DAV/2
mod_ruby/1.2.4 Ruby/1.8.3(2005-09-21) configured -- resuming normal
operations
[Tue Dec 20 10:33:07 2005] [error] access to
/opt/home/telmo/public_html/index.rbx failed for (null), reason: Options
ExecCGI is off in this directory
[Tue Dec 20 10:33:24 2005] [error] access to /usr/local/apache2/htdocs/
failed for (null), reason: file permissions deny server execution

 
without the ruby lines both work fine with HTML files, however *.rbx
files are not executed.
 
thank you very much for your help.
 
Roberto.