Per the Ruby on Rails book you need something like this for a static server definition: <IfModule mod_fastcgi.c> FastCGIIpcDir /tmp/fcgi_ipc FastCGIServer /path/to/app/public/dispatch.fcgi -iniital-env RAILS_ENV=production -processes 15 -idle-timeout 60 </IfModule> So my question is if I have more than 1 app running via apache are these settings applied to each app or do I put this inside each of my virtual hosts, so I cnn have different settings for different apps? thanks, scott. -- Scott F. Walter Scott F. Walter Principal Consultant Vivare, Inc. E: scott.walter-uosFFu51klvQT0dZR+AlfA@public.gmane.org E: scott-APWf0AbNa2kIjDr1QQGPvw@public.gmane.org Visit scottwalter.com <http://scottwalter.com> --Point. Click. Explore!
Scott F. Walter wrote:> Per the Ruby on Rails book you need something like this for a static > server definition: > > <IfModule mod_fastcgi.c> > FastCGIIpcDir /tmp/fcgi_ipc > FastCGIServer /path/to/app/public/dispatch.fcgi -iniital-env > RAILS_ENV=production -processes 15 -idle-timeout 60 > </IfModule> > > So my question is if I have more than 1 app running via apache are > these settings applied to each app or do I put this inside each of my > virtual hosts, so I cnn have different settings for different apps? > > thanks, scott.I guess that answer was just staring me right in the fae. I believe you can put these settings inside a virtual host, by the fact that within the FastCGIServer option you specify the path to dispatch.fcgi -- Scott F. Walter Scott F. Walter Principal Consultant Vivare, Inc. E: scott.walter-uosFFu51klvQT0dZR+AlfA@public.gmane.org E: scott-APWf0AbNa2kIjDr1QQGPvw@public.gmane.org Visit scottwalter.com <http://scottwalter.com> --Point. Click. Explore!
Scott F. Walter wrote:> Per the Ruby on Rails book you need something like this for a static > server definition: > > <IfModule mod_fastcgi.c> > FastCGIIpcDir /tmp/fcgi_ipc > FastCGIServer /path/to/app/public/dispatch.fcgi -iniital-env > RAILS_ENV=production -processes 15 -idle-timeout 60 > </IfModule> > > So my question is if I have more than 1 app running via apache are > these settings applied to each app or do I put this inside each of my > virtual hosts, so I cnn have different settings for different apps? > > thanks, scott.I guess that answer was just staring me right in the fae. I believe you can put these settings inside a virtual host, by the fact that within the FastCGIServer option you specify the path to dispatch.fcgi -- Scott F. Walter Scott F. Walter Principal Consultant Vivare, Inc. E: scott.walter-uosFFu51klvQT0dZR+AlfA@public.gmane.org E: scott-APWf0AbNa2kIjDr1QQGPvw@public.gmane.org Visit scottwalter.com <http://scottwalter.com> --Point. Click. Explore!