From: Tony Targonski Date: 2005-04-08T21:47:02+09:00 Subject: Re: Mod_ruby on XLAMPP Paul: As far as I understand Apache setup.. SetHandler ruby-object RubyHandler Apache::RubyRun.instance Options +ExecCGI Suggests that your ruby files are expected to be found in /ruby folder, not /javascript as you're trying to access them now. --Tony -----Original Message----- From: Paul Hanchett [mailto:paulha@aracnet.com] Sent: Thursday, April 07, 2005 4:55 PM To: ruby-talk ML Subject: Mod_ruby on XLAMPP I'm trying to get mod_ruby running on a win_32 xlampp installation. So far (I think) I'm having moderate success... When I try to access a file with a ruby extension I get an error: =================== Forbidden You don't have permission to access /javascript/ruby.rb on this server. ----------------------------------------------------------------------- Apache/2.0.53 (Win32) mod_fastcgi/2.4.2 mod_ruby/1.2.4 Ruby/1.8.2(2004-12-25) PHP/5.0.3 Server at localhost Port 80 =================== The is from my httpd.conf file. I don't understand the references to ruby-run. Is this a file, where does it come from? =================== LoadModule ruby_module modules/mod_ruby.so # for Apache::RubyRun RubyRequire apache/ruby-run # exec files under /ruby as ruby scripts. SetHandler ruby-object RubyHandler Apache::RubyRun.instance Options +ExecCGI # exec *.rbx as ruby scripts. SetHandler ruby-object RubyHandler Apache::RubyRun.instance # exec *.rb 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 =================== TIA for any help. Paul