<pre name="code" class="html">奇怪的Haproxy 跳转: acl admin_req path_beg -i /admin
use_backend admin_80 if admin_req backend admin_80
mode http
balance roundrobin
server apphost01_8083 10.47.123.133:80 check inter 2000 fall 3 去10.47.123.133看下tomcat配置: <Context docBase="/data02/zjzc-hy-admin-pre" path="/" reloadable="false"/> [root@hy-bfs ~]# cd /data02/zjzc-hy-admin-pre [root@hy-bfs zjzc-hy-admin-pre]# ls
admin adminwechat index.html jquery.2.1.4.min.js META-INF WEB-INF zjzc-hy-admin-pre-0.0.1-SNAPSHOT.war 实际访问的路径是/data02/zjzc-hy-admin-pre/admin http://www.hyyctest.com/admin/index.html 返回: [root@wx03 admin]# pwd
/data02/zjzc-hy-admin-pre/admin [root@wx03 admin]# cat index.html
xxyyxx