Forum: Ruby on Rails Virtural Host with Apache + FastCGI + RoR

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
8c786b59665b31d9e43da6c5e6315a4d?d=identicon&s=25 beeplove (Guest)
on 2005-11-17 18:57
(Received via mailing list)
First question:

FastCgiServer /users/foo/rails/public/dispatch.fcgi -initial-env
RAILS_ENV=production
Do I need define this for every vhost,
or just only one in httpd.conf?
If I need to define it once, what should be the path?
I am confused as I have dispatch.fcgi in each of the public direcotry
of my vhosts.


Second question:

Can I run 2 of my vost in development envionment, 1 in test envionment
and another 2 in production environment?
If so, how?

Thanks,
This topic is locked and can not be replied to.