Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 98209 invoked from network); 30 Jun 2010 13:51:06 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 Jun 2010 13:51:06 -0000 Received: (qmail 83961 invoked by uid 500); 30 Jun 2010 13:51:02 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 83921 invoked by uid 500); 30 Jun 2010 13:51:00 -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 83913 invoked by uid 99); 30 Jun 2010 13:51:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jun 2010 13:51:00 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [212.227.126.171] (HELO moutng.kundenserver.de) (212.227.126.171) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jun 2010 13:50:50 +0000 Received: from mail.proximic.com (host-88-217-248-214.customer.m-online.net [88.217.248.214]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0Lzq1j-1PFeOJ0OR9-014GVj; Wed, 30 Jun 2010 15:50:00 +0200 Received: from localhost (localhost [127.0.0.1]) by mail.proximic.com (Postfix) with ESMTP id 448F81A13628 for ; Wed, 30 Jun 2010 15:49:57 +0200 (CEST) X-Virus-Scanned: amavisd-new at X-Spam-Score: 0.125 X-Spam-Level: Received: from mail.proximic.com ([127.0.0.1]) by localhost (mail.proximic.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wImhY3gwgz-K for ; Wed, 30 Jun 2010 15:49:57 +0200 (CEST) Received: from krauss.office.tanto.de (host-88-217-248-210.customer.m-online.net [88.217.248.210]) by mail.proximic.com (Postfix) with ESMTPSA id BEE5A1A13625 for ; Wed, 30 Jun 2010 15:49:55 +0200 (CEST) Message-ID: <4C2B4B83.2070306@proximic.com> Date: Wed, 30 Jun 2010 15:49:55 +0200 From: Dirk Taggesell User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-GB; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 To: users@httpd.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1//+erWQtuGeh1Q83VjoCzRSGe27ipbW+DCDuh NdEnVV1pDeNoE51NdhJ0qlyE9npGteubeyZO1Nfq5cCCBfUpJ/ WzpFz814ny9Jr8/BpsZCAh3NfKGEM1q X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Flag: NO X-Old-Spam-Status: No, score=0.125 tagged_above=-10 required=6.6 tests=[ALL_TRUSTED=-1.8, AWL=0.206, BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13, FH_DATE_PAST_20XX=3.188, WEIRD_PORT=0.001] autolearn=no Subject: [users@httpd] Reverse Proxy with partial paths possible Hi all, I run an Apache 2.2.11 for several virtual hosts and I configured several reverse proxy directives which are working as intended. Now I received a request to configure some additional rules, like these: ProxyPass /bla/ http://first-back-end:8000/ ProxyPassReverse /bla/ http://first-back-end:8000/ ProxyPass /bla/req http://second-back-end:9200/req ProxyPassReverse /bla/req http://second-back-end:9200/req While the first one works as intended, the second one is somewhat special: it is intended to route requests like this: http://frontend/req.txt?some=arguments&and=evensomemore as well as http://frontend/req.xml?some=arguments&and=evensomemore to the second backend. And introducing an additional path like http://frontend/path/req.xml?some=arguments&and=evensomemore is not allowed, though it would make the whole thing much easier. Can the desired behaviour being achieved with a simple reverse proxy directive? Or would I need ProxyReverseMatch or something? -- kind regards Dirk Taggesell --------------------------------------------------------------------- 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