Re: mod_perl2 & DBD::Oracle problem

2002-08-22 Thread Atsushi Fujita
Hi Geoffrey, > you don't need to set $ENV{'ORACLE_SID'} set at startup, just > $ENV{'ORACLE_HOME'} if you make the instance name part of the DBI > connect string: That's great!! I set only $ENV{'ORACLE_HOME'} and $ENV{'NLS_LANG'} in startup.pl . And I changed my script as following.(no %ENV sett

Re: Mod_perl Application Development

2002-08-22 Thread Russell Lundberg
>Jonathan Lonsdale wrote: >> 2. Distinct content handlers each with their own Location directive. Could >> be a pain to maintain the server config. In my company we wanted an application which would make it easy to give users shared access to data that changed occasionally. The initial request wa

Re: mod_perl2 & DBD::Oracle problem

2002-08-22 Thread Geoffrey Young
Atsushi Fujita wrote: > Hi all, > > Few weeks ago, I posted a problem about DBD::Oracle as following. [snip] > > > # add by atsushi 2002/08/22 > $ENV{'ORACLE_HOME'} = '/u01/app/oracle/product/9.0.1'; > $ENV{'ORACLE_SID'} = 'ynt0'; > $ENV{'NLS_LANG'}= 'japanese_japan.ja16euc'; > > 1

Re: mod_perl2 & DBD::Oracle problem

2002-08-22 Thread Atsushi Fujita
Hi all, Few weeks ago, I posted a problem about DBD::Oracle as following. > I am trying to use DBD::Oracle1.12 on mod_perl2. > But it doesn't work fine. > It shows error as following in error_log at $dbh = DBI->connect. > > [error_log] > DBI->connect(ynt0) failed: (UNKNOWN OCI STATUS 180

Why the content of a main request can't be accessed in a subrequest ?

2002-08-22 Thread imbert
I try to make an Authentification system. I have a PerlAuthenHandler : Authen.pm And I have a PerlHandler : Login.pm In Login.pm, after the login and password checking, I have to redirect the user to his original request. So if this original request was a POST Request, I have to access the cont