Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 67C2A1149F for ; Thu, 24 Apr 2014 16:47:35 +0000 (UTC) Received: (qmail 38656 invoked by uid 500); 24 Apr 2014 16:47:32 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 38618 invoked by uid 500); 24 Apr 2014 16:47:31 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 38610 invoked by uid 99); 24 Apr 2014 16:47:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Apr 2014 16:47:31 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of hfetse@gmail.com designates 209.85.215.43 as permitted sender) Received: from [209.85.215.43] (HELO mail-la0-f43.google.com) (209.85.215.43) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Apr 2014 16:47:26 +0000 Received: by mail-la0-f43.google.com with SMTP id c6so2258325lan.30 for ; Thu, 24 Apr 2014 09:47:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=skfrE2QudUqQ1Mr2UyUFzO+oCWJr1PYXT0xf0cLu+Og=; b=DFAWF1ddfJ0IP2PiBWo0SeCEu2bkoh592Yja5SHnMxfxTABFICmq2TryjUWHyfXt35 oRBz57PPuDZeOzx3AUGpV91eAh5cFqy71RT4NPZFDDhLTFwoU6IdOfK4ryV9jZHtOPEd 3bs1Ud4NY8guNjgB7aQub8HHA78WtpovHnkoR7FMXZCWdTMq3GC4LzJKqq8UgyYVbPyq cY9Fnl4BTcgCcJEBm69RzklHYqzY+yxwYA/g0xpF8b5/N/vX7ebgp8oQCaDA3OzBD9OW SZE83z2yywF9Rc9HDTn3HXHB4kYI56zL25I8uZkLcxdi91+LPsg5E4u0oZDZzeDy6Kx9 INAA== MIME-Version: 1.0 X-Received: by 10.152.18.170 with SMTP id x10mr1604412lad.55.1398358025282; Thu, 24 Apr 2014 09:47:05 -0700 (PDT) Received: by 10.112.35.168 with HTTP; Thu, 24 Apr 2014 09:47:05 -0700 (PDT) In-Reply-To: <20140423222551.GG1798@palma.openstrike.co.uk> References: <20140423222551.GG1798@palma.openstrike.co.uk> Date: Thu, 24 Apr 2014 10:47:05 -0600 Message-ID: From: eric tse To: users@httpd.apache.org Content-Type: multipart/alternative; boundary=089e01493d9e5e2bf504f7cc99c1 X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] similar proxy rules causing warning --089e01493d9e5e2bf504f7cc99c1 Content-Type: text/plain; charset=UTF-8 Thx Pete :) On Wed, Apr 23, 2014 at 4:25 PM, Pete Houston wrote: > On Wed, Apr 23, 2014 at 03:41:54PM -0600, eric tse wrote: > > Have proxy rules > > > > proxyPass /ABC http://domain.com/abc/ > > proxyPass /AbC http://domain.com/abc/ > > > > And get > > The Apache service named reported the following error: > > >>> [xxx xxx xx xx:xx:xx 20xx] [info] worker http://domain.com/abc/already > > used by another worker . > > That isn't an error. Rather it is an informational message which you can > tell by the [info] field. You could ignore it if you so wished. > > > These rules are to guide people having typos with capital/small letters > to > > route to same servers. Apache 2.2 is complaining though. > > In which case why not redirect the "wrong" path to the right path and > only proxy that one? eg. > > Redirect 301 /AbC /ABC > ProxyPass /ABC http://domain.com/abc/ > > HTH, > > Pete > -- > Openstrike - improving business through open source > http://www.openstrike.co.uk/ or call 01722 770036 / 07092 020107 > --089e01493d9e5e2bf504f7cc99c1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thx Pete :)


On Wed, Apr 23, 2014 at 4:25 PM, Pete Houston <ph1= @openstrike.co.uk> wrote:
On Wed, Apr 23, 2014 at 03:4= 1:54PM -0600, eric tse wrote:
> Have proxy rules
>
> proxyPass /ABC ht= tp://domain.com/abc/
> proxyPass /AbC ht= tp://domain.com/abc/
>
> And get
> The Apache service named =C2=A0reported the following error:
> >>> [xxx xxx xx xx:xx:xx 20xx] [info] worker http://domain.com/abc/ already
> used by another worker =C2=A0 =C2=A0 .

That isn't an error. Rather it is an informational message which = you can
tell by the [info] field. You could ignore it if you so wished.

> These rules are to guide people having typos with capital/small letter= s to
> route to same servers. Apache 2.2 is complaining though.

In which case why not redirect the "wrong" path to the righ= t path and
only proxy that one? eg.

=C2=A0 =C2=A0 =C2=A0 =C2=A0 Redirect 301 /AbC /ABC
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ProxyPass /ABC http://domain.com/abc/

HTH,

Pete
--
Openstrike - improving business through open source
http://www.opens= trike.co.uk/ or call 01722 770036 / 07092 020107

--089e01493d9e5e2bf504f7cc99c1--