Submitted by wwiblinjr on Fri, 10/15/2010 - 17:48
Below is my configure I have two servers any ideas what I am doing wrong? BTW that for you help virtual interfaces.
ServerName myname.com ServerAlias www.myname.com
ErrorLog /var/log/virtualmin/myname.com_error_log CustomLog /var/log/virtualmin/myname.com_access_log combined
ProxyVia On
Balance load between 3.x.x ZEO front-endsBalancerMember http://xxx.xxx.8.34/ BalancerMember http://xxx.xxx.8.34/
ProxyPass / balancer://lbmyname
ProxyPassReverse / balancer://lbredbirdtechnologies
Status:
Active
Comments
Submitted by JamieCameron on Sat, 10/16/2010 - 00:34 Comment #1
Did you set this up using the Proxy Paths page in Virtualmin?
Also, what goes wrong exactly? Is the load not being distributed evenly?
Submitted by wwiblinjr on Sat, 10/16/2010 - 07:52 Comment #2
Did you set this up using the Proxy Paths page in Virtualmin?
No! Do I need to?
Also, what goes wrong exactly? Is the load not being distributed evenly?
It not working at all! :-(
ProxyPass / balancer://lbmyname ProxyPassReverse / balancer://lbmyname
It does not seem to like the balancer://lbmyname reference in the proxy statement. Which I need in order to refer to the balanest cluster
Submitted by JamieCameron on Sat, 10/16/2010 - 19:12 Comment #3
I would recommend removing those proxy directives and then using virtualmin to re-setup balancing to the two URLs. That way we will both be on the same page.
Submitted by wwiblinjr on Sun, 10/17/2010 - 12:45 Comment #4
Can you give me an example?
Submitted by JamieCameron on Sun, 10/17/2010 - 13:00 Comment #5
In your case, you would enter
/
in the Local URL path field, and in the "Destination URLs" field enter:http://xxx.xxx.8.34/
http://xxx.xxx.8.35/
Or whatever the URLs of your backends are.
Submitted by wwiblinjr on Sun, 10/17/2010 - 21:52 Comment #6
[Sun Oct 17 22:50:04 2010] [warn] RSA server certificate wildcard CommonName (CN) `*.mysite.com' does NOT match server name!?
client denied by server configuration: proxy:http://mysite.com/favicon.ico
Any ideas?
Submitted by JamieCameron on Mon, 10/18/2010 - 00:41 Comment #7
In Virtualmin, select the domain from the left menu and go to Services -> Configure website -> Edit Directives . Make sure there is a block in there like :
<Proxy *>
allow from all
</Proxy>
If not, add one and click Save , then click Apply Changes.