Forum: Ruby on Rails fcgid woes

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.
Dorian M. (Guest)
on 2006-03-24 17:21
(Received via mailing list)
hi there,
I'm running rails on apache2 with mod_fcgid which works, but I'm having
trouble with environments adn separate dev & prodution vhosts. I have
DefaultInitEnv set in the VirtualHost directive for each (as production
| development), which works fine after a server restart for whichever
vhost I hit first, but thereafter the RAILS_ENV seems to be locked into
one dispatch.fcgi which then handles requests for both vhosts. So if I
hit my dev site first, the production site then serves content from the
development site instead. Is this right?

Reports of fcgid say it is more stable and less prone to zombies (at
least with apache), but documentation is sparse to say the least! Does
anyone know a workaround for my problem?

dorian

--
I do things for love or money
This topic is locked and can not be replied to.