Once more environment variables

Yan Dolyar (yan@jts.com)
Tue, 29 Oct 1996 17:24:19 -0500

Message-Id: <1.5.4.32.19961029222419.008d3b54@jts>
Date: Tue, 29 Oct 1996 17:24:19 -0500
To: fastcgi-developers@openmarket.com
From: Yan Dolyar <yan@jts.com>
Subject: Once more environment variables

I write a FCGI application that connects to SYBASE database.
It works fine from command line, but when it it is invoked 
as FCGI, it doesn't work. I tried:
        - to set up environment variables (that my application
needs to access SYBASE) through putenv() calls just after
FCFI_Accept() (at the beginning of while loop) - this doesn't
work.
        - to set up environment variables through -initial-env
options in the AppClass directive in configuration file - this
varuables seems to be passed to my application, but application
still doesn't work.

Does someone has any ideas?

Yan Dolyar

Yan Dolyar