LinuxSir.cn,穿越时空的Linuxsir!

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

help!为什么我的squid老是把http://reg.163.com/checkuser.jsp直接direct出去,而不是

[复制链接]
发表于 2005-3-23 10:42:29 | 显示全部楼层 |阅读模式
下面是我的access_log,大家请看:
1111490530.001     14 210.29.101.197 TCP_MISS/302 112 POST http://reg.163.com/CheckUser.jsp - DIRECT/202.108.44.136 -
1111490530.037     24 210.29.101.197 TCP_MISS/404 505 GET http://61.177.64.114:3000/login/login.html - DEFAULT_PARENT/210.29.96.35 text/html

我的配置代码如下:


http_port 3128
cache_peer 210.29.96.35         parent    80  3130  default no-query(这是我的上级代理,要上网必须转发到这里)
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_dir ufs /usr/local/squid/var/cache 100 16 256
cache_access_log /usr/local/squid/var/logs/access.log
cache_log /usr/local/squid/var/logs/cache.log
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
refresh_pattern ^ftp:                1440        20%        10080
refresh_pattern ^gopher:        1440        0%        1440
refresh_pattern .                0        20%        4320
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80                # http
acl Safe_ports port 21                # ftp
acl Safe_ports port 443 563        # https, snews
acl Safe_ports port 70                # gopher
acl Safe_ports port 210                # wais
acl Safe_ports port 1025-65535        # unregistered ports
acl Safe_ports port 280                # http-mgmt
acl Safe_ports port 488                # gss-http
acl Safe_ports port 591                # filemaker
acl Safe_ports port 777                # multiling http
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow all
http_access deny all
http_reply_access allow all
icp_access allow all
cache_mgr cupidsd@163.com
cache_effective_user nobody
visible_hostname vmlinux
coredump_dir /usr/local/squid/var/cache
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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