On Wed, 2003-12-10 at 22:42, Kevin Old wrote:
> I am able to setup a DSN and use it successfully via a "regular" perl
> script, but when I try to have Apache::DBI connect to it in my
> startup.pl I get a message in the log stating that the DSN wasn't
> defined in the unixODBC DM.  This is correct, but why is mod_perl using
> the unixODBC DM instead of the iODBC DM

I don't much about the ODBC stuff you're referring to, but make sure
your environment variables are really getting set.  They will not be
passed to mod_perl unless you put PerlPassEnv directives for them in
httpd.conf.  Try dumping %ENV in your script to see if they are set or
not.

- Perrin


-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html

Reply via email to