httpd 2.2.0后增加的proxy-ajp

来源:百度文库 编辑:神马文学网 时间:2024/04/28 08:49:44
httpd 2.2.0后增加的proxy-ajp
Posted on 2006-01-09 11:10Kylin Bell 阅读(271)评论(1)  编辑 收藏收藏至365Key
在httpd 2.2.0后增加了proxy-ajp专供Tomcat使用。
官方文档在:http://httpd.apache.org/docs/2.2/mod/mod_proxy_ajp.html
The AJP proxy is a new module based on the standard Http proxy it uses AJP instead of HTTP.

ProxyPass ajp://localhost:8009/examples/

而且可以很轻易的进行负载均衡:
AJP proxy and proxy balancer
It is possible to use the load balancer of the mod_proxy_balancer module.

BalancerMember ajp://localhost:8009
BalancerMember ajp://example.org:8009


ProxyPass balancer://myCluster/examples/

还没来得及仔细研究,先记下来。:)