Chinaunix
标题:
cache_peer_access ACL 的写法
[打印本页]
作者:
mister9527
时间:
2009-03-01 18:30
标题:
cache_peer_access ACL 的写法
squid方向代理中设置原始(源)服务器,我想让squid根据url中不同的目录去不同服务器上抓取东西
acl static urlpath_regex ^/static
acl search urlpath_regex ^/search
acl other ??? ??? (咋定义)
cache_peer 10.6.33.54 parent 80 0 no-query
cache_peer_access 10.6.33.54 allow static
cache_peer 10.6.46.204 parent 81 0 no-query
cache_peer_access 10.6.46.204 allow search
cache_peer 10.6.1.1 parent 80 0 no-query
cache_peer_access 10.6.1.1 allow other
我想让不符合上面两个acl的url请求都去另外一台服务器上去抓取 要怎么写上面的other ACL ???
作者:
mister9527
时间:
2009-03-06 14:31
问题太白痴,已经解决了!
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2