Fcgid woes


#1

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