Logan Capaldo
4/3/2006 1:03:00 AM
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)