Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 59017 invoked from network); 16 Feb 2006 17:49:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Feb 2006 17:49:13 -0000 Received: (qmail 86991 invoked by uid 500); 16 Feb 2006 17:48:31 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 86911 invoked by uid 500); 16 Feb 2006 17:48: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 86862 invoked by uid 99); 16 Feb 2006 17:48:30 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Feb 2006 09:48:30 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of swagner@scea.com designates 160.33.44.36 as permitted sender) Received: from [160.33.44.36] (HELO sdmx1.scea.com) (160.33.44.36) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Feb 2006 09:48:29 -0800 Received: from edenfox.989studios.com (edenfox.989studios.com [160.33.45.60]) by sdmx1.scea.com (8.13.1/8.13.1) with ESMTP id k1GHm9rM031982 for ; Thu, 16 Feb 2006 09:48:09 -0800 X-Envelope-From: X-Envelope-To: Received: from sdswagner ([10.5.30.23]) by edenfox.989studios.com (8.12.10/8.12.10/SCEAint-1.0) with SMTP id k1GHm3r7031729 for ; Thu, 16 Feb 2006 09:48:07 -0800 Message-ID: <02ff01c63321$22b2fa50$171e050a@pd.scea.com> From: "Steven Wagner" To: References: <9B4E37DCB8D57D408FF960B536F0E52743309E@ms01012.avinci.de> Date: Thu, 16 Feb 2006 09:48:02 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 X-Spam-Score: -11.44 () ALL_TRUSTED,USER_IN_WHITELIST X-Scanned-By: MIMEDefang 2.48 on 160.33.44.36 X-Scanned-By: MIMEDefang 2.48 on 160.33.45.59 X-BorderEnvelope-To: X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] wildcard in proxypass logic X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello Oliver, Thanks for the reply. If I try to define an expression (either LocationMatch or using ~ in Location), rather than the 403 Forbidden error I get a 404 Not Found error. It's as if the ProxyPass directive is lost and Apache tries to process the request locally. Order Allow,Deny Allow from all ProxyPass http://default-tomcat:8080/web-app/services/ ProxyPassReverse / ----- Original Message ----- From: To: Sent: Thursday, February 16, 2006 2:13 AM Subject: AW: [users@httpd] wildcard in proxypass logic For the wildcard use better "LocationMatch" instead of "Location". http://httpd.apache.org/docs/2.2/en/mod/core.html#locationmatch If you want to playing with a bunch of tomcats in the back you should have a look of mod_proxy_balancer/mod_proxy_ajp too http://httpd.apache.org/docs/2.2/en/mod/mod_proxy_balancer.html Bye Oliver -----Urspr�ngliche Nachricht----- Von: Steven Wagner [mailto:swagner@scea.com] Gesendet: Do 16.02.2006 00:43 An: users@httpd.apache.org Betreff: [users@httpd] wildcard in proxypass logic Hello, I'm new to this list and apologize if my protocol is incorrect. I'm trying to set up proxy using wildcards. The apache is being used as a front end security layer to a pool of tomcat servers. The idea is to provide a means to route different product server requests to different tomcat servers pools, where the more popular products would have bigger pools. But since there could potentially be a large number of product (most of which would not be that popular), we wanted to have a default tomcat pool, hence the use of the wildcard. So with the following httpd.conf settings requests for product1/services and product2/services are proxied correctly, but requests for product3/services return a 403 Forbidden error, where as I would have thought it would be handled by the wild card entry. Any insight to the problem or alternative solutions are appreciated. Thanks. Order Allow,Deny Allow from all ProxyPass http://poduct1-tomcat:8080/web-app/services/ ProxyPassReverse / Order Allow,Deny Allow from all ProxyPass http://poduct2-tomcat:8080/web-app/services/ ProxyPassReverse / Order Allow,Deny Allow from all ProxyPass http://default-tomcat:8080/web-app/services/ ProxyPassReverse / ---------------------------------------------------------------------------- ---- > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > " from the digest: users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org