It sounds like your DB2 environment variables are not being passed from the
webserver to the CGI. You'll need to modify your Apache config to
explicitly pass the variables DB2 requires. I don't recall specifically
which ones they are.
-----Original Message-----
From: James Gardner [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 04, 2001 4:20 PM
To: [EMAIL PROTECTED]
Subject: DB2 and CGI
My web server runs as the user apache. I can log in
<br>and run perl dbi scripts as the user apache from the
<br>command line to connect and select to a remote DB2
<br>database. But when I try to connect using essentially
<br>the same scripts in CGI running as apache I get "Total
<br>Environment Allocation Errors."
<br>
<br>I can connect to informix and sybase, but am a novice
<br>to DB2. I would be happy to send more info, except I
<br>don't know what to send. Any help would be appreciated.
<br>
<br>James Gardner
<br>
<br>
--
_______________________________________________
FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup
Talk More, Pay Less with Net2Phone Direct(R), up to 1500 minutes free!
http://www.net2phone.com/cgi-bin/link.cgi?143