`
weifly
  • 浏览: 234993 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

apache proxy搭建集群注意事项

 
阅读更多

apache版本:2.2.17

proxy模块搭建集群时,如果映射地址是“/”,则ProxyPass配置指令需要注意末尾的“/”。

 

the trailing slash at the end of the ProxyPass directive IS CRUCIAL!

 

参考文章:http://googolflex.com/?p=492

 

<location />
  ProxyPass balancer://mycluster/ stickysession=JSESSIONID|jsessionid nofailover=On
  ProxyPassReverse balancer://mycluster/
</location>
<Proxy balancer://mycluster>
  BalancerMember http://172.16.7.233:5080 loadfactor=50 route=t1
  BalancerMember http://172.16.7.233:6080 loadfactor=50 route=t2
</Proxy>

 

apache日志中的报错信息:

[Mon Jan 25 13:35:57 2016] [warn] proxy: No protocol handler was valid for the URL /login.jsp. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics