DLOG4J 已经正常工作了,而 S3却不行。要怎么弄才可以访问这种呢?
http://localhost/test/xxxxxx/xxxx
http://localhost/test
我的 Apache 配置是这样的:
#
# workers.properties
#
# list the workers by name
worker.list=DLOG4J, status, s3
# localhost server 1
# ------------------------
worker.s1.port=8009
worker.s1.host=localhost
worker.s1.type=ajp13
#worker.s1.lbfactor=2.5
worker.s1.cachesize=10
worker "s1" want ajp13 connection to be dropped after 5mn (timeout)
worker.s1.cache_timeout=600
worker.s1.socket_keepalive=1
worker.s1.socket_timeout=300
# localhost server 2
# ------------------------
worker.s2.port=8109
worker.s2.host=localhost
worker.s2.type=ajp13
worker.s2.cachesize=10
worker.s2.cache_timeout=600
worker.s2.socket_keepalive=1
worker.s2.socket_timeout=300
# local host server 3
worker.s3.port=8309
worker.s3.host=localhost
worker.s3.type=ajp13
worker.s3.cachesize=10
worker.s3.cache_timeout==600
worker.s3.socket_keepalive=1
worker.s3.socket_timeout=300
worker.DLOG4J.type=lb
worker.retries=3
worker.DLOG4J.balanced_workers=s1, s2
worker.DLOG4J.sticky_session=1
worker.status.type=status
=======================================
/*=DLOG4J
/jkstatus=status
/test=s3
/test/*=s3
#!/*.gif=DLOG4J
#!/*.jpg=DLOG4J
#!/*.png=DLOG4J
#!/*.css=DLOG4J
#!/*.js=DLOG4J
#!/*.htm=DLOG4J
#!/*.html=DLOG4J
要看错误日志!
######"worker.DLOG4J.balanced_workers=s1, s2"
只有两个做均衡呢?
“worker.DLOG4J.balanced_workers=s1, s2,s3”
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。