|
|
我给服务器装了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 fsfs@da.com
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缓存,我该怎么做呢? |
|