恩,我的文件是这样的,此外我修改如下:
acl valid_dst dstdomain .myserver.com
http_access allow valid_dst
http_port 3128 vhost vport
cache_peer 127.0.0.1 parent 80 0 originserver default
【 在 FreeWizard ( ) 的大作中提到: 】
: 默认acl QUERY urlpath_regex cgi-bin \?
: cache deny QUERY
: 不就都没存吗
我看了这两句前面的注释:
# TAG: cache
# A list of ACL elements which, if matched, cause the request to
# not be satisfied from the cache and the reply to not be cached.
# In other words, use this to force certain objects to never be cached.
#
# You must use the word 'DENY' to indicate the ACL names which should
# NOT be cached.
#
# Default is to allow all to be cached
#We recommend you to use the following two lines.
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
这样说的话是不是含有cgi-bin的都不缓存,其他的都缓存?
: ...................
--
修改:luckwithme FROM 61.167.60.*
FROM 61.167.60.*