httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <ge...@modperlcookbook.org>
Subject Re: mod_apreq2.c?
Date Wed, 27 Apr 2005 19:25:12 GMT


Joe Schaefer wrote:
> Geoffrey Young <geoff@modperlcookbook.org> writes:
> 
> 
>>hi again :)
>>
>>so, if I include the following line in my base httpd.conf
>>
>>  LoadModule apreq_module modules/mod_apreq2.so
> 
> 
> Hmm, try the following patch (cd to module/apache2 first) 
> and use "apreq2_module" instead.

not quite:

Cannot load /src/libapreq2-2.05-dev/module/apache2/.libs/mod_apreq2.so into
server: /src/libapreq2-2.05-dev/module/apache2/.libs/mod_apreq2.so:
undefined symbol: apreq_module

I think this is in the right direction, but there needs to be lots of
changes for this to happen.  I _think_ that the version is really coming
from filter.c, since <IfModule filter.c> has the proper effect.

the following patch to Apache-Test lets things work out ok on the userspace
end, though I haven't tested what impact it has on the apreq tests themselves.

speaking of which build/version_check.pl fails if I don't have Test::Inline
installed, which keeps me from being able to compile from trunk at the
moment.  not a big deal, but I thought I'd mention it :)

--Geoff

Index: lib/Apache/TestConfigParse.pm
===================================================================
--- lib/Apache/TestConfigParse.pm       (revision 165029)
+++ lib/Apache/TestConfigParse.pm       (working copy)
@@ -444,6 +444,7 @@
     if ($version =~ qr,Apache/2,) {
         # PHP 4.x on httpd-2.x needs a special modname alias:
         $modname_alias{'mod_php4.c'} = 'sapi_apache2.c';
+        $modname_alias{'mod_apreq2.c'} = 'filter.c';
     }

     unless ($version =~ qr,Apache/(2.0|1.3),) {



Mime
View raw message