No matter what I try, I cannot not get any apps I deploy to a server
running Apache 1.3 with FastCGI into the production environment. I have
1) Specified "-initial-env RAILS_ENV=production" in the FastCgiServer
line of my httpd.conf file.
2) Added "SetEnv RAILS_ENV production" to the .htacess file
and still the only way to get my apps into production is to manually
edit the environment.rb file and force them into production. I have
confirmed that the .htacess file is calling dispatch.fcgi rather than
dispatch.cgi. It also reproduces with any app I deploy to this
server... I'd like to migrate the server to apache2 + mongrel or the
like, but that's not possible for reasons outside of my control.
Any suggestions are very welcome!