Hi everyone,

on a winXP platform I have just upgraded Apache from 2.0.47 to 2.0.48
version and
mod_perl from 1.99_10 to 1.99_12.
Apache starts succcessfully but I got an Internal Server Error also on
static pages.
I have no trace in the error log file also with Log Level debug activated.
I have only trace of the access in the access log file.

I am using the same httpd.conf (already used with previuos versions) and
about mod_perl it contains the following lines:

#---------------------------------------
# BEGIN MOD_PERL CONFIG
LoadFile C:/Perl/bin/perl58.dll
LoadModule perl_module modules/mod_perl.so

## developing
PerlModule Apache::Reload
PerlInitHandler Apache::Reload
# ReloadAll defaults to On
PerlSetVar ReloadAll Off

PerlRequire "J:/www/startup-ap2.pl"
<Files *.pl>
  SetHandler perl-script
  PerlResponseHandler ModPerl::Registry
  Options +ExecCGI
  PerlOptions +ParseHeaders
</Files>

# END MOD_PERL CONFIG
#--------------------------------------

and startup-ap2.pl contains:

#--------------------------------------
use Apache2 ();
use ModPerl::Util ();
use Apache::RequestRec ();
use Apache::RequestIO ();
use Apache::RequestUtil ();
use Apache::Server ();
use Apache::ServerUtil ();
use Apache::Connection ();
use Apache::Log ();
use Apache::Const -compile => ':common';
use APR::Const -compile => ':common';
use APR::Table ();
use Apache::compat ();
use ModPerl::Registry ();
use CGI ();

## persistent connections
use Apache::DBI;

use DBI ();

### application module
use lib "J:/www/bf/pm";
use lib "J:/www/bfp/pm";

1;
#--------------------------------------

Working around this problem I have discovered that the problem seems to be
the module Apache::Reload [ver 0.07].

If I remove the following lines from httpd.conf:

PerlModule Apache::Reload
PerlInitHandler Apache::Reload
# ReloadAll defaults to On
PerlSetVar ReloadAll Off

everything works fine. Maybe Apache::Reload is not compatible with mod_perl
2 but why
everything did work well with mod_perl 2 1.99_10 ?

Any idea?

Thank you in advance,

Paolo



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

Reply via email to