I’m wondering what the general consensus is for utilizing Apache for the
static content and only using Mongrel/WEBrick/etc for the Ruby code.
the resource perspective, it’s a rather obvious choice. From the
development perspective, it’s not so clear. I personally don’t care to
Apache on my development machine and enjoy the flexibility of developing
projects across multiple computers. To develop, all I need to do is
checkout my code from Subversion and start a Mongrel instance. No
config, etc. My application is right there, complete, and ready to
If I had the Apache layer, I’d need to spend time configuring that.
What I generally do is create a “home” or “welcome” controller that
drives pages like about us, contact, directions, etc. All of the URL
mappings are done in the routes file.
What are your thoughts on this subject?