Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: ORACLE ENV UNDER CGI
Mike Hankey wrote:
>
> 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
write a wrapper script that sets all the environment variables, then executes the Pro*C program as the last step. Received on Thu Apr 16 1998 - 12:58:30 CDT