Hi folks,

I'm attempting to run one of my Cat apps as an fcgi under apache, using 
the following:

   SetEnv DB2DIR /opt/IBM/db2/V8.1
   SetEnv DB2INSTANCE missys
   SetEnv INSTHOME /home/missys

FastCgiServer  /mnt/shared/projects/money/Budget/script/budget_fastcgi.pl 
-idle-timeout 30 -processes 3

Alias /budget /mnt/shared/projects/money/Budget/script/budget_fastcgi.pl

However, the code in the Budget app fails to be able to connect to the DB2 
database, as the variables I'm setting don't get passed through to its 
environment. The only thing in ENV is the Catalyst Engine setting.. How do 
I get FCGI to pass through apache env vars?

I've changed it to set %ENV in Budget.pm, but thats not an ideal solution 
:(

(Other normal .cgi apps can see these SetEnv vars just fine..)

Jess


_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to