http://httpd.apache.org/docs/2.4/mod/mod_proxy_hcheck.htmlApache mod_proxy_hcheck in Virtual arbeiten nicht
<VirtualHost *:80>
ProxyHCExpr ok234 {%{REQUEST_STATUS} =~ /^[234]/}
ProxyHCExpr ok23 {%{REQUEST_STATUS} =~ /^[23]/}
ProxyHCExpr in_maint {hc('body') !~ /The requested resource is not available/}
<proxy balancer://cluster>
BalancerMember http://192.168.0.1:8181/examples hcmethod=GET hcexpr=ok23 hcinterval=2 hcuri=/status
BalancerMember http://192.168.0.2:8282/examples hcmethod=GET hcexpr=in_maint hcinterval=2 hcuri=/servlet
ProxySet lbmethod=byrequests
</proxy>
ProxyPass /examples balancer://cluster
ProxyPassReverse /examples balancer://cluster
</VirtualHost>
Setzen Sie die Konfiguration des Moduls hcheck im Virtualhost, Back-End-Kater nicht Heartbeat-Nachricht akzeptieren?