Return-Path: Delivered-To: apmail-perl-dev-archive@www.apache.org Received: (qmail 37757 invoked from network); 8 Feb 2007 04:06:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Feb 2007 04:06:02 -0000 Received: (qmail 48672 invoked by uid 500); 8 Feb 2007 04:06:08 -0000 Delivered-To: apmail-perl-dev-archive@perl.apache.org Received: (qmail 48628 invoked by uid 500); 8 Feb 2007 04:06:08 -0000 Mailing-List: contact dev-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@perl.apache.org Received: (qmail 48617 invoked by uid 99); 8 Feb 2007 04:06:08 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Feb 2007 20:06:08 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [64.127.99.51] (HELO app.redhotpenguin.com) (64.127.99.51) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Feb 2007 20:05:59 -0800 Received: (qmail 4711 invoked by uid 1005); 7 Feb 2007 20:05:39 -0800 Received: from c-67-188-239-8.hsd1.ca.comcast.net (HELO [192.168.2.3]) (67.188.239.8) (smtp-auth username fred@redhotpenguin.com, mechanism plain) by app.redhotpenguin.com (qpsmtpd/0.31.1) with ESMTP; Wed, 07 Feb 2007 20:05:29 -0800 Message-ID: <45CAA19D.2050309@taperfriendlymusic.org> Date: Wed, 07 Feb 2007 20:05:49 -0800 From: Fred Moyer User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) MIME-Version: 1.0 To: "Philippe M. Chiasson" CC: Geoffrey Young , Frank Maas , modperl@perl.apache.org, Perrin Harkins , dev@perl.apache.org Subject: Re: MP 2.0.3 & Apache 2.2.3 -> auth tests fail References: <20070113180259.GA61905@xs4all.nl> <45A93863.9040804@elem.com> <20070115220727.GA30037@xs4all.nl> <45ACDA8E.4050306@modperlcookbook.org> <45CA76DD.7030605@ectoplasm.org> In-Reply-To: <45CA76DD.7030605@ectoplasm.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Check-By: app.redhotpenguin.com X-Old-Spam-Status: No, hits=0.0 required=5.0 tests= Philippe M. Chiasson wrote: > Geoffrey Young wrote: >> >> we did a similar workaround for something else, but I forget what it >> was. svn history will know, however. > > Or just have a look at this patch ;-) > > Index: src/modules/perl/modperl_apache_compat.c > =================================================================== > --- src/modules/perl/modperl_apache_compat.c (revision 504721) > +++ src/modules/perl/modperl_apache_compat.c (working copy) > @@ -27,3 +27,45 @@ > * and don't forget to insert comments explaining exactly > * which httpd release allows us to remove the compat code > */ > + > +/* pre-APACHE_2.2.4 */ > +#if ! AP_MODULE_MAGIC_AT_LEAST(20051115,4) Mmmmm, mod_perl internals, yummy :) Here is a doc patch I s/(version)/($1|description|banner)/ ^W^W wrote up for it. Index: docs/api/Apache2/ServerUtil.pod =================================================================== --- docs/api/Apache2/ServerUtil.pod (revision 500867) +++ docs/api/Apache2/ServerUtil.pod (working copy) @@ -27,9 +27,11 @@ @handlers = @{ $s->get_handlers('PerlChildExitHandler') || []}; # server build and version info: - $when_built = Apache2::ServerUtil::get_server_built(); + $when_built = Apache2::ServerUtil::get_server_built(); + $description = Apache2::ServerUtil::get_server_description(); $version = Apache2::ServerUtil::get_server_version(); - + $banner = Apache2::ServerUtil::get_server_banner(); + # ServerRoot value $server_root = Apache2::ServerUtil::server_root(); @@ -384,6 +386,56 @@ +=head2 C + +Get the server banner + + $banner = Apache2::ServerUtil::get_server_banner(); + +=over 4 + +=item ret: C<$banner> ( string ) + +The server banner + +=item since: 2.0.4 + +=back + + + + + + + + + +=head2 C + +Get the server description + + $description = Apache2::ServerUtil::get_server_description(); + +=over 4 + +=item ret: C<$description> ( string ) + +The server description + +=item since: 2.0.4 + +=back + + + + + + + + + + + =head2 C Get the group id corresponding to the C directive in --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org For additional commands, e-mail: dev-help@perl.apache.org