LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 601|回复: 1

about squid?

[复制链接]
发表于 2005-5-31 16:28:18 | 显示全部楼层 |阅读模式
客户机显示:
ERROR
The requested URL could not be retrieved
--------------------------------------------------------------------------------
While trying to retrieve the URL: http://www.sina.com.cn/
The following error was encountered:
Access Denied.
Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.
Your cache administrator is kendrick_wong@winghung.com.
---------------------------------------------------------------------------
Generated Sat, 02 Aug 2003 01:55:03 GMT by localhost (squid/2.4.STABLE4)
 楼主| 发表于 2005-5-31 16:31:13 | 显示全部楼层
我的squid.conf
http_port 192.168.0.1:3128
cache_mem 64 MB
cache_access_log /var/squid/access.log
cache_log /dev/null
cache_store_log none
visible_hostname  ml.china
cache_swap_low 80
cache_swap_high 90
cache_mgr kendrick_wong@winghung.com
cache_dir aufs /var/squid/Cache 2000 16 256
cache_dir aufs /ftp1/Cache1 2000 16 256
cache_log /var/squid/cache.log
maximum_object_size 5 MB
maximum_object_size_in_memory 500 KB

httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy off
httpd_accel_uses_host_header on

acl doud arp 00:E0:4D:07:17:03 52:54:AB:36:22:16 00:E0:4C:94:55:CE 00:30:18:80F:FC 00:E0:4C:51:17:01 00:E0:4C:51:59:05 00:E0:4D:07:36:EB 00:E0:4C:F7:12:4A 00:E0:4D:03:25:FE
acl doud1 arp 00:10:5C:FE:98:53 00:10:5C:FE:98:01 00:10:5C:FE:96:E7 00:10:5C:FE:95:7F 00:10:5C:FD5:74 00:E0:4D:03:25:FE 00:E0:4C:77:96:62 00:10:5C:FE:96:7A 00:10:5C:FE:95:7D 52:54:AB:35A:E
6
acl conncount maxconn 4
acl localhost src 127.0.0.1/32
acl all src 0/0
acl badwords url_regex sex
acl homepage browser www.sina.com.cn
acl homepage1 browser www.163.com
acl homepage2 browser www.sohu.com
acl worktime time MTWHF 8:00-17:00
acl student src 192.168.0.10-192.168.0.245

http_access allow doud doud1
http_access allow localhost
http_access deny !worktime
http_access deny badwords student
http_access allow conncount student
http_access allow homepage homepage1 homepage2 student
cache_effective_user squid
cache_effective_group squid
http_eccess deny all
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表