From: James Britt Date: 2007-10-23T09:12:33+09:00 Subject: Re: Ruby + Apache, scripts not being interpreted nobrow wrote: > I am trying to get Ruby running on Apache. I may or may not have a > problem. What do you think? > > I have a test site called ruby-test set up with a vhost. When I go to > rails-test/ I see the "Welcome Aboard" page. But when I click the > "About your application's environment" link the script doesnt get > interpreted ... I just see it as text. I havent gone any further than > this, as I have been trying to get that script to run. You also may have to tell apache that files ending in .rb are to be handled via cgi. Otherwise, it really is just text. AddHandler cgi-script .rb Check the archives for threads on Ruby + CGI -- James Britt "The greatest obstacle to discovery is not ignorance, but the illusion of knowledge." - D. Boorstin