RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Serve erb files the wrong way (like php does it)

Here is the full guide. The idea is to configure Apache so you can upload an erb file to anywhere in your DocumentRoot and have it interpreted and then sent to the browser, just like you can do with php files. Basically, you configure Apache to take any request to a .erb file and redirect it to a cgi script.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in