On Jan 26, 2006, at 5:03 AM, Pat M. wrote:
I would personally recommend that you proxy to lighty from apache.
Especially since you already know lighty well it will be easier for
you to use. Also you will be able to restart your rails app with out
restarting apache. So you can switch to dev or production mode and
reload changes without bouncing the whole server. In my tests, you
shouldn’t notice much performance difference as proxying is a very
I have a server at work with around 32 client web sites on it under
apache1.3. Most of them are php/html sites but about 7 of them are
rails sites and each of them runs their own lighty. It runs great and
I have had no problems at all using it. Whereas I was always
fidgeting with apache/mod_fcgi when I tried to use that, always
getting random 500 errors that would never fully go away.
Here is my apache1.3 vhost conf that I use that is tried, tested and
ProxyPass / http://example.com:8000/
ProxyPassReverse / http://example.com:8000/