Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: ORACLE ENV UNDER CGI
In some Web servers the user 'nobody' does not inherit any environment
variables. In Apache there is a configuration file ( httpd.conf ? ) that
you can set user defined variables. You may need to poke around in the Web
server documentation. I had this problem with exporting the II_SYSTEM
variable in Ingres - it drove me nuts until I worked it out.
Mike Hankey <mhankey_at_syssrc.com> wrote in article
<352D3CA1.7C12AE9_at_syssrc.com>...
> I have an pro c cgi application that works fine from the command line.
> When I execute it through the browser I get an error because it can't
> find the $ORACLE_HOME .
>
> I asked my sys admin if we could add the ORACLE environment variables to
> the profile of nobody(the http process uid) but he said he knew of no
> way to alter nobody's profile.
>
> I thought about setting the environment variables from with in my C
> program but I'm not sure how to do that. Any help is greatly
> appreciated.
>
> TIA
>
> Mike
>
>
Received on Wed Apr 15 1998 - 02:15:02 CDT
![]() |
![]() |