Hi, Thanks. You are right. Unfortunately I am using a suexec binary provided by Ensim and cannot modify it to include the desired variable. Fun Fun.
Take care. [EMAIL PROTECTED] wrote: > 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 -- Michael Andrus Systems Administrator [EMAIL PROTECTED] Intertruss Internet Services, Inc. (770)642-3951 Atlanta (478)922-1919 Macon/Warner Robins http://www.intertruss.com/
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- 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