logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: Bug in Apache::Test - extra.conf included before modperl_inc.pl: msg#00045

Subject: Re: Bug in Apache::Test - extra.conf included before modperl_inc.pl
Geoffrey Young wrote:
The subject really says it all. The httpd.conf generated by
Apache::Test is broken

because it has the Include extra.conf before the

PerlRequire modperl_startup.pl

(which loads modperl_inc.pl).

This means that the currently installed module gets

loaded (although

for some reason the right .pm file gets loaded). This breaks AxKit's


use of Apache::Test, because AxKit has XS code, so the XS code contains

an older version

when it is installed than the .pm file in the local

directory.


I've been griping about
this for as long as I can remember.

the short (or long) term solution is to use
extra.last.conf.in instead of extra.conf.in.  the archives should have the
details.

The problem is that it has to be first for the mod_perl test suite. Since different projects have different needs, what I provided a way to have includes to be added first or last. Geoff has given the answer, and it's documented here:

http://perl.apache.org/docs/general/testing/testing.html#Extending_Configuration_Setup


--


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxxxxxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>