I put 'SetEnv ORACLE_HOME /your/path/to/oracle' in httpd.conf.  I then
stopped and restarted the Apache sever but get the following message on
startup.

# /usr/apache/bin/apachectl start
Syntax error on line 44 of /etc/apache/httpd.conf:
Invalid command 'SetEnv', perhaps mis-spelled or defined by a module not
included in the server configuration
/usr/apache/bin/apachectl start: httpd could not be started

Any ideas?  Does this mean that I don't have the mod_env module
installed or am I missing something else.

TIA,

Woody

-----Original Message-----
From: Javier Dussaillant [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 23, 2001 10:55 AM
To: [EMAIL PROTECTED]
Subject: Re: Global Solaris ORACLE_HOME???


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

Reply via email to