Use the SetEnv directive in the httpd.conf Apache configuration file, like
this:
SetEnv ORACLE_HOME /your/path/to/oracle
At 10:33 AM 10/23/2001 -0400, you wrote:
>Hello all,
>
>I'm using Apache 1.3.6 on Solaris 8, Perl 5.6.1, the latest DBI and
>DBD:Oracle, and Oracle 8.1.7 database. I can connect to the Oracle
>database and retrieve a result set from the Solaris command line with
>'Perl test.pl'. But I can not from a web page although plain CGI/Perl
>works fine. I think what I need is to set the Oracle_Home environment
>variable for the Apache 'nobody' user. Does anyone know how to set the
>Oracle_home variable for all users including the 'nobody' user? I
>edited /etc/profile but that did not do the trick.
>
>Thanks,
>
>Woody
Javier Dussaillant G.
[EMAIL PROTECTED]
Departamento de Desarrollo VRWEB ltda.
http://www.vrweb.cl