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 7597510ABE for ; Thu, 26 Sep 2013 10:00:02 +0000 (UTC) Received: (qmail 18498 invoked by uid 500); 26 Sep 2013 09:58:50 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 18332 invoked by uid 500); 26 Sep 2013 09:58:41 -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 18174 invoked by uid 99); 26 Sep 2013 09:58:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Sep 2013 09:58:29 +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 (nike.apache.org: domain of thomas.r.w.eckert@gmail.com designates 209.85.217.172 as permitted sender) Received: from [209.85.217.172] (HELO mail-lb0-f172.google.com) (209.85.217.172) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Sep 2013 09:58:22 +0000 Received: by mail-lb0-f172.google.com with SMTP id x18so865639lbi.31 for ; Thu, 26 Sep 2013 02:58:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=KCeeJ1YTJDfvduXHh4GUdkRmSHgpTJhHwsX9onI6jYg=; b=rAivZH7EHYiWoSJ9CnpcrnJq5iTFAaicmhyl0I5C3JtNm2wX1QYDXCSwxjqUFCTC3T iLNqJGLZf87Q4pU1LdNr/IgQHF3iWrtbWwdhF/eGTzUGhUppIEszI9ii4x0S4ng7KV4+ 5QIrHkAbkftRtsIR4aBFs/09YSGE4tPDEJ7RlC7RjKpXRK2JVmXsgdOPr1gLqL4xEQt3 dkoJk48UpK4NQEmw4ltazIWE9no4mcO9Ue5G5XtRp8bqISpjtUW5lO3qSPR0aHTP1B8a 3hazfs+vzkJAXs9llo2cT1fbD6yMNwxWj/datGqb1nSxEW8st4Nbd/JOX3CPaVeB/HHj eVXw== MIME-Version: 1.0 X-Received: by 10.112.168.170 with SMTP id zx10mr3371769lbb.0.1380189481493; Thu, 26 Sep 2013 02:58:01 -0700 (PDT) Received: by 10.112.161.229 with HTTP; Thu, 26 Sep 2013 02:58:01 -0700 (PDT) Date: Thu, 26 Sep 2013 11:58:01 +0200 Message-ID: From: Thomas Eckert To: users@httpd.apache.org Content-Type: multipart/alternative; boundary=001a11c23c88c46bb604e74667ca X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] Question regarding ProxyPass and "!" --001a11c23c88c46bb604e74667ca Content-Type: text/plain; charset=ISO-8859-1 Using a config like this BalancerMember http://backend.example.local status=-SE ServerName frontend.example.local SSLProxyEngine On RequestHeader set X-Forwarded-Proto http ProxyPass ! ProxyPassReverse ! ProxyPass balancer://cd107d9706d71153bafd4ab15f1c6b5d ProxyPassReverse balancer://cd107d9706d71153bafd4ab15f1c6b5d should I not expect requests to /helloworld/ to be mapped to the files being served directly from frontend.example.local instead of being proxied away to backend.example.local ? In other words, backend.example.local should not even see that request. --001a11c23c88c46bb604e74667ca Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

Using a config like this

  • <Proxy balancer://= cd107d9706d71153bafd4ab15f1c6b5d&g= t;
  • BalancerMem= ber http://backend.example.local status=3D-SE
  • </Proxy>
  • <<= span class=3D"">VirtualHost 10.10.10.10:80>
  • ServerName<= /span> frontend.example.local<= /li>
  • SSLProxyEngine On
  • RequestHeader set X-Forwarded-Proto http
  • <= Location /= helloworld/>
  • =
  • ProxyPass !
  • ProxyPassReverse !
  • </Location>
  • <Location />
  • Pro= xyPass balancer://cd107d9706d71153bafd4ab15f1c6b5d
  • <= span class=3D""> ProxyPassReverse balancer://cd107d9706d71153bafd4ab15f1c6b5d
  • </Location>
  • </VirtualHost>
  • should I not expect requests to /helloworld/ to be mapped to the f= iles being served directly from frontend.example.local instead of being pro= xied away to backend.example.local ? In other words, backend.example.local = should not even see that request.

    --001a11c23c88c46bb604e74667ca--