免费注册 查看新帖 |

Chinaunix

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

[proxy] squid中header的一些设定 [复制链接]

论坛徽章:
0
发表于 2009-03-20 12:58 |显示全部楼层
10可用积分
刚解决上个帖子的问题,现在又发现了 新的不懂的地方,真是学无止境啊
具体如下

  1. header_access Via deny all
  2. header_access X-Forwarded-For deny all
复制代码

这里解决了  jsp服务器不能使用代理访问的问题。

但是,
header_access Via  什么意思?有什么用,一般怎么用?
header_access X-Forwarded-For 什么意思?有什么用,一般怎么用?

还有
#
#               header_access From deny all
#               header_access Referer deny all
#               header_access Server deny all
#               header_access User-Agent deny all
#               header_access WWW-Authenticate deny all
#               header_access Link deny all      
#               header_access Allow allow all
#               header_access Authorization allow all
#               header_access WWW-Authenticate allow all
#               header_access Cache-Control allow all
#               header_access Content-Encoding allow all
#               header_access Content-Length allow all
#               header_access Content-Type allow all
#               header_access Date allow all
#               header_access Expires allow all
#               header_access Host allow all
#               header_access If-Modified-Since allow all
#               header_access Last-Modified allow all
#               header_access Location allow all
#               header_access Pragma allow all
#               header_access Accept allow all
#               header_access Accept-Charset allow all
#               header_access Accept-Encoding allow all
#               header_access Accept-Language allow all
#               header_access Content-Language allow all
#               header_access Mime-Version allow all
#               header_access Retry-After allow all
#               header_access Title allow all
#               header_access Connection allow all
#               header_access Proxy-Connection allow all
#               header_access All deny all
#




都是什么意思?有什么用,一般怎么用?   大家一起来总结吧。  我送分

论坛徽章:
0
发表于 2009-03-20 13:46 |显示全部楼层
看看中文手册。

论坛徽章:
0
发表于 2009-03-20 23:03 |显示全部楼层
就是为了安全 防止squid 泄露一些机器的信息。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP