From: David Vallner Date: 2006-04-05T05:31:43+09:00 Subject: Re: Apache with Ruby Dňa Pondelok 03 Apríl 2006 03:03 Logan Capaldo napísal: > On Apr 2, 2006, at 8:54 PM, Henry Ortega wrote: > > I am really new to Ruby. I have just installed Ruby on my Linux box > > and it > > works fine. I need Apache to recognize Ruby scripts and interpret > > them. Is > > mod_ruby the only way to do it? > > You can of course use the regular CGI methods. I.e. start your files > with > #!/path/to/ruby > ... script ... > > And configure apache to recognize them as cgis (makr them as > executable, put them in cgi-bin or use httpd.conf or .htaccess to > configure apache to recognize .rb files as cgis) I'd use mod_fastcgi instead of mod_ruby if you want to avoid the CGI overhead. David Vallner