Michael Andrus wrote: > Hi, > > I am running Apache 2.0.52-32 on CentOS 4.5, with latest mod_fcgid from > cvs. Apache is running in a chrooted environment via the Ensim web > hosting control panel. I am using mod_fcgid with a rails application and > dispatch.fcgi. This works. > > I am trying to use the following Apache directive > > DefaultInitEnv RAILS_ENV staging > > to set and pass the variable RAILS_ENV to the rails application. > This is not working. I know this because "development.log" is being > created instead of "staging.log." > > Could someone point me in the right direction how to debug why/where > this is failing? > > > Thanks! > > Michael >
If fastcgi aplication is execute by suexec, then suexec removes the RAILS_ENV, I think (?). ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Mod-fcgid-users mailing list Mod-fcgid-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users