这是我在httpd.conf中的mod_proxy_balancer配置看起来的样子,但是当我访问http://localhost/balance时 - 我收到HTTP 404错误问题访问// lbtest / Reason:not found
# Load balancer configuration
<IfModule mod_proxy_balancer.c>
<Location "/balancer-manager">
SetHandler balancer-manager
Order deny,allow
Deny from all
# Allow from local subnet only
Allow from all
</Location>
<Proxy balancer://mybalancer>
BalancerMember http://localhost:8080/ route=route1
BalancerMember http://localhost:8180/ route=route2
ProxySet lbmethod=bytraffic
</Proxy>
ProxyPass /balance balancer://mybalancer/lbtest/
#ProxyPassReverse /balance balancer://mybalancer/lbtest/
</IfModule>
同样在我的jetty.base/webapps/lbtest
存在 - 如果我访问http://localhost:8080/lbtest