Virtural Host with Apache + FastCGI + RoR

M

Mohammad Khan

First question:

FastCgiServer /users/foo/rails/public/dispatch.fcgi -initial-env
RAILS_ENV=3Dproduction
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,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,734
Messages
2,569,441
Members
44,832
Latest member
GlennSmall

Latest Threads

Top