With the current cvs mod_perl 2.0, I get a problem about
deciding which modules to load from the installed httpd.conf.
This patch
=============================================================
Index: Apache-Test/lib/Apache/TestConfigParse.pm
===================================================================
RCS file:
/home/cvspublic/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfigParse.pm,v
retrieving revision 1.28
diff -u -r1.28 TestConfigParse.pm
--- Apache-Test/lib/Apache/TestConfigParse.pm 23 Jan 2003 04:06:38 -0000 1.28
+++ Apache-Test/lib/Apache/TestConfigParse.pm 26 Jan 2003 02:33:42 -0000
@@ -86,7 +86,7 @@
#XXX mod_jk requires JkWorkerFile or JkWorker to be configured
#skip it for now, tomcat has its own test suite anyhow.
-my %skip_modules = map { $_, 1 } qw(mod_jk.c);
+my %skip_modules = map { $_, 1 } qw(mod_jk.c mod_perl.c);
# add modules to be not inherited from the existing config.
# e.g. prevent from LoadModule perl_module to be included twice, when
@@ -121,7 +121,7 @@
$name = $modname_alias{$name} if $modname_alias{$name};
- unless ($self->should_skip_module($name)) {
+ if ($self->should_skip_module($name)) {
debug "Skipping LoadModule of $name";
next;
}
=================================================================
The s/unless/if/ I think is just a typo? The other one
about adding mod_perl.c to %skip_modules I'm not sure -
it appears to be handled from config_parse_skip_module_add,
but without the above patch the installed mod_perl.so is
used, rather than the one just built in the sources.
--
best regards,
randy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]