I followed this tutorial on the rails wiki about how to get apache with
fastcgi working on a vps machine:
In the tutorial it said to add this to the httpd.conf file to get
However in the rails book, it says to do:FastCgiIpcDir /tmp/fcgi_ipc FastCgiServer /path/to/app/public/dispatch.fcgi -initial-env RAILS_ENV=production -processes 15 -idle-timeout 60
Right now i have my app up and running on the vps machine. It seems to
pretty responsive considering it is in development mode.
- How can i tell if the fastcgi setup is correct?
I can see the obvious differences in the two versions of how to change
httpd.conf. However, i cant understand why they are different.
- In the first example, how many fastcgi servers are running?
- How would i change to production environment?
I’m not sure if i should use the version from the book because the
was closer to how my vps is setup (cpanel on redhat).