From: Justin Collins Date: 2006-12-06T20:49:28+09:00 Subject: Re: Apache and Ruby P�re No�l wrote: > Justin Collins wrote: > > >>> And u don't need a special folder under your Apache/ROOT folder ? >>> >> No, you don't have to set it up that way, although it's an option. >> > > in the mean time i've installed mod_ruby. > > then i've tried that using an hello_world cgi this one : > > > > works as expected > > and that one : > > > > generates a 404 errror even if u've accessed to it by it's parent > folder... > > > the content of both is the same except i write a shebang for the latest > (rbx) : > > #! /usr/bin/env ruby > > cgi=CGI.new > print cgi.header("type" => "text/plain") > print "Hello World !" > > > u can see txt files at the same adresses extension added ".txt" > > the added Apache directives are in the following file : > > > > also both files are executables... > My mistake...I'm not much of an expert on this. You will need to add a directory directive like: Options +ExecCGI in the config file to have it work right. Sorry about that. -Justin