Return-Path: Delivered-To: apmail-httpd-apreq-dev-archive@www.apache.org Received: (qmail 45303 invoked from network); 27 Apr 2005 19:25:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Apr 2005 19:25:41 -0000 Received: (qmail 69675 invoked by uid 500); 27 Apr 2005 19:26:38 -0000 Delivered-To: apmail-httpd-apreq-dev-archive@httpd.apache.org Received: (qmail 69649 invoked by uid 500); 27 Apr 2005 19:26:37 -0000 Mailing-List: contact apreq-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list apreq-dev@httpd.apache.org Received: (qmail 69634 invoked by uid 99); 27 Apr 2005 19:26:37 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from secure.exclamationlabs.net (HELO secure.exclamationlabs.net) (66.77.29.165) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 27 Apr 2005 12:26:37 -0700 Received: from [192.168.2.160] (pcp0010804675pcs.walngs01.pa.comcast.net [69.142.163.148]) (authenticated (0 bits)) by secure.exclamationlabs.net (8.11.6/8.11.6) with ESMTP id j3RJPZf03933; Wed, 27 Apr 2005 14:25:35 -0500 Message-ID: <426FE718.9020701@modperlcookbook.org> Date: Wed, 27 Apr 2005 15:25:12 -0400 From: Geoffrey Young User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040927 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Joe Schaefer CC: apreq-dev@httpd.apache.org Subject: Re: mod_apreq2.c? References: <426FE1BE.6030104@modperlcookbook.org> <87fyxckpco.fsf@gemini.sunstarsys.com> In-Reply-To: <87fyxckpco.fsf@gemini.sunstarsys.com> X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Joe Schaefer wrote: > Geoffrey Young 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 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),) {