Apache + FastCGI + RoR

Discussion in 'Ruby' started by Mohammad Khan, Nov 17, 2005.

  1. 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,
     
    Mohammad Khan, Nov 17, 2005
    #1
    1. Advertisements

  2. Mohammad Khan

    gregarican Guest



    You might have better results posting this to the Rails mailing list at
    http://lists.rubyonrails.org/mailman/listinfo. Ditto for your dupe
    message.
     
    gregarican, Nov 17, 2005
    #2
    1. Advertisements

  3. sorry for the dupe..
    it was a mistake.. i didn't realize gmail really accepted my first message.
     
    Mohammad Khan, Nov 17, 2005
    #3
  4. Como'n guys,
    Say something !!
     
    Mohammad Khan, Nov 20, 2005
    #4
  5. Mohammad Khan

    James Britt Guest

    James Britt, Nov 20, 2005
    #5
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.