Quoting Chris Zhuang <[EMAIL PROTECTED]>:
Hi,
However, when I run an CGI script on the IE 6, it cannot find
$ENV{MOD_PERL} and start new DBI connection.
--------foo.cgi--------------------
#!c:/perl/bin/perl.exe -d
use DBI;
use CGI qw(:standard);
my $dbh = DBI->connect("dbi:Oracle:host=xxx;sid=xxx",
"xxx", "xxx",
{PrintError => 1, RaiseError => 0,
AutoCommit => 1,}
);
--------END--------------------
It looks like your CGI's are are running under CGI, not
ModPerl::PerlRun, or ModPerl::Registry.
see:
http://perl.apache.org/docs/2.0/user/intro/start_fast.html#Registry_Scripts