Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 82326 invoked from network); 18 Apr 2005 09:56:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Apr 2005 09:56:17 -0000 Received: (qmail 16796 invoked by uid 500); 18 Apr 2005 09:55:45 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 16781 invoked by uid 500); 18 Apr 2005 09:55:45 -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: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 16763 invoked by uid 99); 18 Apr 2005 09:55:45 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from loninmrp6.uk.db.com (HELO loninmrp6.uk.db.com) (160.83.52.98) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 18 Apr 2005 02:55:44 -0700 Received: from sdbo1003.db.com by loninmrp6.uk.db.com id j3I9teGi011625; Mon, 18 Apr 2005 10:55:40 +0100 Date: Mon, 18 Apr 2005 10:55:36 +0100 MIME-Version: 1.0 To: users@httpd.apache.org Cc: From: "James Richardson" X-Mailer: Microsoft Outlook v 11.00.6353, MSOC v 2.00.4007.00 Message-ID: X-MIMETrack: Serialize by Router on sdbo1003/DMGUK/DeuBaInt/DeuBa(5013aHF19 | July 26, 2004) at 18/04/2005 10:55:40 AM, Serialize complete at 18/04/2005 10:55:40 AM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Checked: Checked Subject: [users@httpd] Repost: Reverse proxy load balanced question X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Can anybody help out on this one? Would much appreciate it. Thanks! James > -----Original Message----- > From: "James Richardson" [mailto:"James > Richardson" ] > Sent: 14 April 2005 15:32 > To: users@httpd.apache.org > Subject: [users@httpd] Reverse proxy load balanced question > > > Hi, > > Currently I am using mod_proxy to map multiple web application servers > into a single content root like this: > > > RewriteEngine on > RewriteRule htdocs/(.*)$ http://bar.foo.com:8080/$1 [P] > ProxyPassReverse http://bar.foo.com:8080/foobar > > > This works very well (although I think that I've not 100% got the hang of > the rewrite, it does work very successfully). > > However, I would now like to use a rnd: text mapped file for the reverse > proxied host (so as to do a non-sticky load balance), and I don't really > understand how to place this into my config.... > > I have so far this: > > RewriteMap servers rnd:/home/richja/apache/test/conf/servers.txt > > RewriteEngine on > RewriteRule htdocs/(.*)$ http://${servers:foobar}:8080/$1 > [P] > ProxyPassReverse http://?????what_to_put_here? > > > But I'm a bit stuck as how to handle the ProxyPassReverse rule. > > I would much appreciate any pointers... > > Thanks! > > James > > > --------------------------------------------------------------------- > 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