How about not setting all the environmental vars, since that might disrupt
apache configs.

Ilya Sterin

-----Original Message-----
From: roberto l [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 26, 2001 11:41 AM
Cc: [EMAIL PROTECTED]
Subject: Re: Total Environment allocation failure!


The scripts run perfect at the shell prompt. I can execute with no problem,
and query the database perfectly. Current cgi directory is /cgi-bin, the
user
running the webserver is nobody

>
> Have you tried to set the variables in the shell
> and run this script from there (and not as CGI)?
>
> As an off-topic, I always wonder why don't people
> spend a minute to make their code more readable:
>
>   $ENV{THREADS_FLAG} = q|native|;
>   $ENV{JAVA_HOME}    = q|/usr/java|;
>   $ENV{LANG}         = q|en_US|;
>
> And why do you use "." and ".." here:
>
> > $ENV{CLASSPATH}=qq|.:..:/opt/WebSphere/CommerceSuite/AdvSvr/lib:/opt/
>
> What is the current directory for a CGI-scipt?

--
De duobus malis, minus est semper eligendum

Reply via email to