develooper Front page | perl.dbi.users | Postings from August 2006

RE: ORA-01017 ... but only when script is run as CGI

Thread Previous | Thread Next
From:
Angus McIntyre
Date:
August 18, 2006 11:00
Subject:
RE: ORA-01017 ... but only when script is run as CGI
Message ID:
13489.216.169.140.2.1155924046.squirrel@webmail.nomadcode.com
On Fri, August 18, 2006 1:25 pm, Garrett, Philip \(MAN-Corporate\) wrote:
> Angus McIntyre wrote:
>> If I call the script as a CGI script, I get ORA-01017 in
>> OCISessionBegin, which is the bad username or password error.
>
> I have had this problem before. I'm not positive, but I think it was
> caused by ORACLE_HOME not being passed through by Apache.  If you're
> running Apache, you'll need this directive in your httpd.conf:
>     PassEnv ORACLE_HOME

Thanks for the suggestion. Unfortunately, that doesn't seem to have cured
it. Tests show that the correct ORACLE_HOME was getting passed through to
Perl anyway, and adding PassEnv didn't improve matters.

Thanks again

Angus


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About