You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2006/11/06 16:00:17 UTC
DO NOT REPLY [Bug 40910] New: - configuration problem with more than 1 balancer
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40910>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40910
Summary: configuration problem with more than 1 balancer
Product: Apache httpd-2
Version: 2.2.3
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_proxy_balancer
AssignedTo: bugs@httpd.apache.org
ReportedBy: markus.lind@yellowmap.de
When defining more than 1 proxy balancers the system sometimes ignores
configurations and takes the first balancer for all requests. ErrorLog and
configtest say everything is ok, the effect seems to be depending of the order
of configuration
The following configuration doesn't work
<VirtualHost xxx.xxx.xxx.xxx>
<Proxy balancer://cluster1>
BalancerMember http://10.x.x.x loadfactor=20 retry=60
BalancerMember http://10.x.x.y loadfactor=10 retry=60
</Proxy>
<Proxy balancer://cluster2>
BalancerMember http://10.x.x.x:8080 loadfactor=20 retry=60
BalancerMember http://10.x.x.y:8080 loadfactor=10 retry=60
</Proxy>
RewriteEngine on
RewriteRule ^/specialpath/(.*)$ balancer://cluster2/specialpath/$1 [NC,P,L]
RewriteRule ^/(.*)$ balancer://cluster1/$1 [P,L]
</VirtualHost>
Every request to specialpath is routed to the webs linked in cluster1
If I change the sequence of the 2 balancers it works
<VirtualHost xxx.xxx.xxx.xxx>
<Proxy balancer://cluster2>
BalancerMember http://10.x.x.x:8080 loadfactor=20 retry=60
BalancerMember http://10.x.x.y:8080 loadfactor=10 retry=60
</Proxy>
<Proxy balancer://cluster1>
BalancerMember http://10.x.x.x loadfactor=20 retry=60
BalancerMember http://10.x.x.y loadfactor=10 retry=60
</Proxy>
RewriteEngine on
RewriteRule ^/specialpath/(.*)$ balancer://cluster2/specialpath/$1 [NC,P,L]
RewriteRule ^/(.*)$ balancer://cluster1/$1 [P,L]
</VirtualHost>
Balancer Manager Webpage shows both clusters, but in case 1 the ports of cluster
2 are "lost", in case 2 it is shown correctly with port 8080
With 3 or more backend clusters this issue would be even more complicated to test
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 40910] - configuration problem with more than 1 balancer
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40910>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40910
------- Additional Comments From markus.lind@yellowmap.de 2006-11-06 09:22 -------
Thanks, the Patch fixes the problem
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 40910] - configuration problem with more than 1 balancer
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40910>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40910
------- Additional Comments From rpluem@apache.org 2006-11-06 08:32 -------
Created an attachment (id=19092)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=19092&action=view)
Patch against trunk
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 40910] - configuration problem with more than 1 balancer
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40910>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40910
------- Additional Comments From rpluem@apache.org 2007-09-02 03:00 -------
Proposed for backport as r571936 (http://svn.apache.org/viewvc?rev=571936&view=rev).
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 40910] - configuration problem with more than 1 balancer
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40910>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40910
rpluem@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
------- Additional Comments From rpluem@apache.org 2006-11-06 08:31 -------
Could you please give the attached patch a try? It should fix your problem.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 40910] - configuration problem with more than 1 balancer
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40910>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40910
rpluem@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |RESOLVED
Resolution| |FIXED
------- Additional Comments From rpluem@apache.org 2007-09-03 14:01 -------
Backported to 2.2.x as r572420 (http://svn.apache.org/viewvc?rev=572420&view=rev).
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 40910] - configuration problem with more than 1 balancer
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40910>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40910
------- Additional Comments From rpluem@apache.org 2006-12-03 13:26 -------
Committed to trunk as r481901 (http://svn.apache.org/viewvc?view=rev&rev=481901).
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org