Jan 28

Rails Logo Still very much in the process of learning Rails myself, I have pretty much mastered the process of running Webrick and Mongrel. Granted, it *is* an easy process.However, I wanted to be able to run my own Ruby applications along my other, mostly PHP-based, applications. That’s where the challenge usually begins. If you use a dedicated server process, you end up having to serve your pages from a non-standard port, such as 3000. This typically does not work for users who are behind a proxy. Additionally, this means that the simplest approach is to ignore virtual servers and run each application on a different port.

I was expecting the RoR Wiki to be helpful. And, overall, it really is; but in this case I found it mostly frustrating, due to some of its information being outdated and not really all that synthetic.

And that is why I decided, inspired by that Wiki, to create my own guide. Note that this guide describes using Ruby with mod_fastcgi.
Note that this guide describes using Ruby with mod_fcgid. I am sure that you’ve read that mod_fastcgi wasn’t working properly and this was a real concern, forcing you to instead use Apache proxying with a regular Ruby server. Not anymore. mod_cfgid fixes all that. No need for an additional server, no need for mod_ruby either.
Continue reading »

Sphere: Related Content