Forum: Ruby on Rails fcgid woes

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
F719c6cb34bd5b691c12b373b7244b4d?d=identicon&s=25 Dorian Mcfarland (tachekent)
on 2006-03-24 16: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?


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