I am running apache with mod_fastcgi on Linux - I would like to run my
app in production mode, but I could not. Following is what I have in my
httpd.conf. Can someone tell me why it does not recognize the env
variable for production? The app always runs under development mode i.e
ignores the RAILS_ENV directive.
thanks/ thila.FastCgiIpcDir /tmp/fcgi_ipc/ FastCgiServer /app.......dir/public/dispatch.fcgi \ -initial-env RAILS_ENV=production \ -processes 4 -idle-timeout 180 AddHandler fastcgi-script .fcgi .. . . . ServerName www.myurl.com ServerAlias myurl.com DocumentRoot /app...dir/public/ Options ExecCGI FollowSymLinks AddHandler cgi-script .cgi AllowOverride all Allow from all Order allow,deny