Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 22123 invoked from network); 25 Jun 2008 16:24:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Jun 2008 16:24:56 -0000 Received: (qmail 40850 invoked by uid 500); 25 Jun 2008 16:24:47 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 40827 invoked by uid 500); 25 Jun 2008 16:24:47 -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 40816 invoked by uid 99); 25 Jun 2008 16:24:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jun 2008 09:24:47 -0700 X-ASF-Spam-Status: No, hits=3.5 required=10.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aganguly01@gmail.com designates 66.249.82.237 as permitted sender) Received: from [66.249.82.237] (HELO wx-out-0506.google.com) (66.249.82.237) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jun 2008 16:23:58 +0000 Received: by wx-out-0506.google.com with SMTP id i30so1437058wxd.15 for ; Wed, 25 Jun 2008 09:24:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=K7Z6RfaCUaUt6MP+PrybTgDr2Ni99btZB0QpU9bs+WM=; b=hDYIjNojZ4QQD4gDKXdXCNNDHeYtv1thejkTtp1OBOlSZy7ez1aZNLQouhy+sdARYI 8uYXwquTGCv9vUydBQNxhmD6cpwmXfFpv3OK550TMqZFqrIKpBqFRi7p7qnZ+5NRtvpi A3Y5AsSEqvL+HqosBbe+rd4fc06zVf1yuKraU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=AC0aYQzIvAKGueAztCKWmtAuVwRj1zHNyCya98iiuQyAqI52SuWtLTalpEMwqsvyv8 DYiMNNfeBGXzSuM4UXJml7sEBNZNnj0KOM1zx8BBd7VxVqemnJbndl4/uM1eznxXKqEt wzR8CpiL0Ndq/sb0FsNa+kXZt1UpiQfwP9Lm4= Received: by 10.142.238.9 with SMTP id l9mr7030564wfh.125.1214411056603; Wed, 25 Jun 2008 09:24:16 -0700 (PDT) Received: by 10.142.222.19 with HTTP; Wed, 25 Jun 2008 09:24:16 -0700 (PDT) Message-ID: <2ae67e000806250924r27ce9d8aj92adacae03dffeac@mail.gmail.com> Date: Wed, 25 Jun 2008 21:54:16 +0530 From: "Arnab Ganguly" To: users@httpd.apache.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_6326_26478631.1214411056610" X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] Help on proxy balancer ------=_Part_6326_26478631.1214411056610 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi All, Following configuration I have kept. ProxyPass /balancer-manager ! ProxyPass / balancer://mycluster/ stickysession=BALANCEID nofailover=On ProxyPassReverse / http://10.146.175.236:81/ ProxyPassReverse / http://10.146.161.223:82/ BalancerMember http://10.146.175.236:81 route=10-146-175-236 BalancerMember http://10.146.161.223:82 route=10-146-161-223 ProxySet lbmethod=byrequests and the rewrite for in each of the back end server as follows RewriteEngine On RewriteRule .* - [CO=BALANCEID:balancer.10.146.161.223:82] RewriteRule ^/$ /test-query [L,R=301] and for the other server is RewriteEngine On RewriteRule .* - [CO=BALANCEID:balancer.10.146.175.236:81] RewriteRule ^/$ /test-query [L,R=301] But for some link I see from the browser that the request directly goes to the backend server than through the proxy.Even I checked the access log for the Proxy during those requests and there is no growth.Any help or suggestion would be of great help. Thanks -A ------=_Part_6326_26478631.1214411056610 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi All,
Following configuration I have kept.

ProxyPass /balancer-manager !
        ProxyPass / balancer://mycluster/ stickysession=BALANCEID nofailover=On
        ProxyPassReverse / http://10.146.175.236:81/
        ProxyPassReverse / http://10.146.161.223:82/
        <Proxy balancer://mycluster>
          BalancerMember http://10.146.175.236:81 route=10-146-175-236
          BalancerMember http://10.146.161.223:82 route=10-146-161-223
          ProxySet lbmethod=byrequests
        </Proxy>

and the rewrite for in each of the back end server as follows

RewriteEngine On
RewriteRule .* - [CO=BALANCEID:balancer.10.146.161.223:82]
RewriteRule ^/$ /test-query [L,R=301]


and for the other server is
RewriteEngine On
RewriteRule .* - [CO=BALANCEID:balancer.10.146.175.236:81]
RewriteRule ^/$ /test-query [L,R=301]


But for some link I see from the browser that the request directly goes to the backend server than through the proxy.Even I checked the access log for the Proxy during those requests and there is no growth.Any help or suggestion would be of great help.
Thanks
-A

------=_Part_6326_26478631.1214411056610--