由 hengdadmin 在 09-02-2004 14:57 发表:
squid无法更新sina,sohu,请大家看看
我给服务器装了squid,第一天是8月15日,后来到了8月的29日,打开了新浪和sohu的网站之后发现squid没有更新他们,下面是配置文件:
http_port 3128
cache_mem 16 MB
cache_swap_low 75
cache_swap_high 85
maximum_object_size 4096 KB
maximum_object_size_in_memory 8 KB
ipcache_size 1024
ipcache_low 90
ipcache_high 95
fqdncache_size 1024
cache_dir ufs /var/spool/squid 1000 16 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
pid_filename /var/run/squid.pid
client_netmask 255.255.255.0
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
acl our_networks src 192.168.1.0/24
http_access allow our_networks
http_access allow localhost
http_access deny all
cache_mgr [email protected]
cache_effective_user squid
cache_effective_group squid
visible_hostname proxy
httpd_accel_host dada.coda.com
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
这个配置文件可能是错的,但是应该和网站不更新没关系,如果在配置文件上无法修改对sina和sohu无法更新的问题,希望大家给我个办法例如,网络上的计算机在访问sina和sohu的时候不经过squid缓存,我该怎么做呢?
由 hengdadmin 在 09-02-2004 16:20 发表:
我在论坛搜了搜,发现有的朋友和我也有一样的问题,请前辈们帮我看看,谢谢
由 hengdadmin 在 09-02-2004 21:51 发表:
顶一下
由 babo 在 09-02-2004 22:31 发表:
帮你顶
CPU--->PIII 866
内存-->512M
硬盘-->160G+120G
显卡-->TNT2 32M
由 faint 在 09-03-2004 15:26 发表:
是不是域名解析的问题?
还可能是MTU的问题?
由 zhangshoug 在 09-03-2004 17:08 发表:
no_cache
acl NOCACHE dstdomain .sohu.com .sina.com
no_cache deny NOCACHE
试试看
我现在外地上班,非常想回老家(重庆及其周边地区)或北京、上海等大城市找个工作.希望大家提供相关线索.我的资料在我的个人网站上:http://61.55.133.50/~zhangshg
__