The patch discussed here isn't the ideal solution, it hasn't worked for
me. I added a line, for my conditions, but it will be better someone
will create a better patch. When ASP.pm throw nearly the same error
after patching the way described befor, try this one.
if($ENV{MOD_PERL}) {
# release 1.999_22 of mod_perl seems to require
# using $ENV{MOD_PERL_API_VERSION} not $mod_perl::VERSION
my $ver = $mod_perl::VERSION;
if ($ver eq "") { $ver = $ENV{MOD_PERL_API_VERSION}; }
$ModPerl2 = ($ver >= 1.99);
+ if(($ModPerl2 eq "") && ($ENV{MOD_PERL_API_VERSION} == 2)) {
$ModPerl2 = 2; }
if($ModPerl2) {
eval "use Apache::ASP::ApacheCommon ();";
die($@) if $@;
}
}
Maybe the problem is my installation, because $ver shows 1.29, but
$ENV{MOD_PERL_API_VERSION} shows 2. But it only works, when $ModPerl ist
set (to 2, or it just has to be true, I think).
Best regards
Marius Gauland
Germany
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]