From modperl-return-64921-archive-asf-public=cust-asf.ponee.io@perl.apache.org Fri Dec 7 00:19:08 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 123BB180674 for ; Fri, 7 Dec 2018 00:19:07 +0100 (CET) Received: (qmail 40172 invoked by uid 500); 6 Dec 2018 23:19:06 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 40161 invoked by uid 99); 6 Dec 2018 23:19:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Dec 2018 23:19:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id C45E3180CC5 for ; Thu, 6 Dec 2018 23:19:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.497 X-Spam-Level: ** X-Spam-Status: No, score=2.497 tagged_above=-999 required=6.31 tests=[DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, KAM_NUMSUBJECT=0.5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=rowe-clan-net.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id GIFtyqyvNx-3 for ; Thu, 6 Dec 2018 23:19:04 +0000 (UTC) Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 39CC05F35A for ; Thu, 6 Dec 2018 23:19:04 +0000 (UTC) Received: by mail-ed1-f43.google.com with SMTP id j6so2198368edp.9 for ; Thu, 06 Dec 2018 15:19:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rowe-clan-net.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=biXVzbKMN4FcEs0tyqMqNh6C/T01W00kx+a6mNXF+6Q=; b=1V4UNBafvjxhZMogAalSJbrVeSGXc1l5IsYJsPp4YIcUhunjIVr+dvo+ENWfugzkA9 51GDlO2jAPBooH6ci54sIxeet+3j7YPaB0QbMoiP5L13YbK5StOpKx9bWhYz2Dsnzrzb WFBky9bOQG8C3/FMoooMI6c05Yyn8s9jEFsPPvDyCostZ8QSA2f6bZ4Bk1PXflIokL4p Ig2UTnvy+KRB/CXNrOAttwPd1cFqyP4fP92RzFaaJk3HNIZ3evJuW4PealYCXsrDUN7f IM8vmbJpq+rLQCHjls/GYcp5AKtgwYdaUr7ZrZ74DiRup+CCrnjn5TVb91vs3WinxmVq Ut4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=biXVzbKMN4FcEs0tyqMqNh6C/T01W00kx+a6mNXF+6Q=; b=a/KPuPYHtk6VDqrvrDOugXb7a9Tb1E64k9bcMPHC4A3ROfdM126Du9Aj3zFm1VGoeY xtP8uFq9yFdlRMWNKO5eithD9hVe2TaStLqV7/0bClO22NBH0Mi3jCx2JJ1kUU1I6Y0V 4MSH+tFrDWmzdHsu/OPZHEp5WmbuFSdbaN5B4YAvH0HcKqVPxpHGG8o9uTL4ZhSWu35m m1G/MoLGU/OfJHHbZx7G4unKydg8dhMUIoZCh2kJMbmTR+vDEY/9AGlGu0MwPH/os0ul XtlXe1iTGvg/pebvYDI3mzLB1iJpy63XOla6NBFcpoctTWhn3uN5Zi317EKjP7zWUhpc I12A== X-Gm-Message-State: AA+aEWb+obF26l8aPMuhfgqTNQZMqMfCy9bmLQfJDpbI73o9R9cDsPXT 3dVulNR4+JV1FTcuXoqDtjXqcNhFY1lG/8RX8xY6Cw== X-Google-Smtp-Source: AFSGD/XMNX/XSrTvFUI3zgcfndnobApMRPShYZEiKD2ROynYmPHG7bw0CAohkn4PRKPfjG79IcG977RFanDu+udpr1M= X-Received: by 2002:a17:906:32c6:: with SMTP id k6-v6mr215578ejk.48.1544138342885; Thu, 06 Dec 2018 15:19:02 -0800 (PST) MIME-Version: 1.0 References: <5C015DF5.8010208@ice-sa.com> <357B3982-D6D8-4D5C-8AD0-3E71B5F9950B@article7.co.uk> In-Reply-To: <357B3982-D6D8-4D5C-8AD0-3E71B5F9950B@article7.co.uk> From: William A Rowe Jr Date: Thu, 6 Dec 2018 17:18:36 -0600 Message-ID: Subject: Re: Upgrading a mod_perl application from Apache 2.2 to Apache 2.4 To: andrew@article7.co.uk Cc: modperl@perl.apache.org Content-Type: multipart/alternative; boundary="00000000000069a71b057c62b94b" --00000000000069a71b057c62b94b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Dec 6, 2018 at 3:34 PM Andrew Green wrote: > Hi William, > > But you are better off looking at; > > http://perl.apache.org/docs/2.0/api/Apache2/ServerUtil.html#C_get_server_= version_ > > which returns nothing except exactly what you are asking. > > > I did try this (and it worked fine) =E2=80=94 but I kept seeing the follo= wing > error pop up in the logs: > > *ap_get_server_version() is deprecated since httpd/2.3.0 try using > ap_get_server_(description|banner)() instead* > > So I switched to banner. I=E2=80=99ll see about switching again to descr= iption. > Ahhh, ok, just be aware the get_server_description call doesn't exist in 2.2, you need to perform a little eval() magic to guard against that expected failure. --00000000000069a71b057c62b94b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Thu= , Dec 6, 2018 at 3:34 PM Andrew Green <andrew@article7.co.uk> wrote:
=
Hi William,

But y= ou are better off looking at;

which returns nothing except exactly = what you are asking.

I did try this (and it worked fine) =E2=80=94 but I kept seeing th= e following error pop up in the logs:

ap_get_se= rver_version() is deprecated since httpd/2.3.0 try using ap_get_server_(des= cription|banner)() instead

So I switched to ba= nner.=C2=A0 I=E2=80=99ll see about switching again to description.

Ahhh, ok, just be aware the get_server_= description call doesn't exist in 2.2, you need
to perform a = little eval() magic to guard against that expected failure.=C2=A0
--00000000000069a71b057c62b94b--