免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3523 | 回复: 0
打印 上一主题 下一主题

[proxy] 求助~ 在一台WEB服务器上搭建squid做反向代理失败 [复制链接]

论坛徽章:
0
1 [报告]
发表于 2007-09-07 23:59 |显示全部楼层
先看看这些吧
http://post.baidu.com/f?kz=94686749

好像你的配置应该变为
visible_hostname test.com
http_port 134.234.102.2:81 vhost vport


cache_mem 200 MB
cache_swap_low 90
cache_swap_high 95
maximum_object_size 20000 KB
maximum_object_size_in_memory 4096 KB


cache_dir ufs /usr/local/squid/var/cache 10000 16 256


cache_store_log none


emulate_httpd_log on




pid_filename /var/log/squid/squid.pid
cache_log /var/log/squid/cache.log
access_log /var/log/squid/access.log combined

cache_effective_user nobody
cache_effective_group nobody

acl QUERY urlpath_regex cgi-bin .cgi .avi .wmv .rm .ram .mpg .mpeg .zip .exe
cache deny QUERY

cache_peer 134.234.102.2 parent 80 0 no-query originserver

acl all src 0.0.0.0/0.0.0.0
http_access allow all


小第也是初学,请多多指教
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP