免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1512 | 回复: 0

[proxy] squid的两种“代理请求”?谁知道有什么区别吗? [复制链接]

论坛徽章:
0
发表于 2005-09-30 16:13 |显示全部楼层
对于squid来说,下面这两种request有什么区别呢?

surrogate requests and proxy requests

在字面上,surrogate和proxy都是“代理”、“代理人”的意思,但对于squid来说,这两种请求有什么不同呢?可能是英文不好,看得不太明白。

来源:
Oreilly.Squid.The.Definitive.Guide.eBook-DDU
15.2 Configuring Squid

  1. 15.2.7 httpd_accel_with_proxy
  2. By default, whenever you enable the httpd_accel_host directive, Squid goes into strict surrogate mode. That is, it refuses proxy HTTP requests and accepts only surrogate requests, as though it were truly an origin server. Squid also disables the ICP port (although not HTCP, if you have it enabled). If you want Squid to accept both surrogate and proxy requests, enable this directive:

  3. httpd_accel_with_proxy on
复制代码
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP