Ruby CGI

software development

#1

Is there a way to get the .rhtml extension to be recognized so I can embed Ruby into my documents? Similar to the way the .php extension works.

I’ve struggled with the .htaccess file but I’m not really sure how to configure it properly.


#2

Yes, I had to figure this out today for myself. I wanted to have rhtml files be parsed by ERB, but ran into the same problem as you.

I have instructions about how to do this in my blog.

Hope that helps!