"Sergey V. Kolychev" wrote:
>
> Good day.
> I have 2 things are not very clear to me.
> I'm working with ApacheDBI-0.82.
> 1) Does Apache::DBI cashing for Apache::AuthenDBI and for regular
> DBI->connect by Apache::Registry in same time.
> I mean one connection per child for authentification and for
> Apache::Registry scripts.
> The userid/password and dsn are same for both.
Yes:
for every connect the DBI module checks, if the module Apache::DBI
has been loaded. In this case every connect request will be forwarded
to the Apache::DBI module.
> Second:
> Is there any difference in configuration for mod_perl(below) ?
> ----------
> 1) httpd.conf
>
> PerlModule Apache::DBI Apache::AuthenDBI DBI DBD::Oracle
> -------------------------------------------------------
> 2) httpd.conf
> PerlModule Apache::DBI
> PerlModule Apache::AuthenDBI DBI DBD::Oracle
I don't know the order of loading, if you specify more than
one module in the same line. So better use the second approach.
Both examples have one thing in common: you never need to
specify a DBD-module. This handled by the DBI module.
> -----
> Thanks.
>
> ----------------------Alchevsk Linux User Group-----------------------
> I don't call, I don't cry , I don't apologize
> All will be gone like a apple tree's white smoke... (S.Esenin)
> http://www.ic.al.lg.ua/~ksv | e-mail: [EMAIL PROTECTED]
> PGP key: finger [EMAIL PROTECTED]
Edmund
--
Edmund Mergl
mailto:[EMAIL PROTECTED]
http://www.bawue.de/~mergl