我将squid配置为反向代理,实现最最基本的代理缓存功能,只想squ.i.d的代理功能先运行起来:域名
client与squid在同一机.器.上,IP地址为192.198.0.20(广告)
服务器地址:192.168..0.10 鲜花
http_por.t 192.168.0.20:80 vh.ost vport.
c.ache_peer 192.168.0.10 parent 80 0 no-qu.ery originserver.
ht.tp_access allow all 杀毒
cac.he_effe.ctive_user squid 鲜花
access.log中的记录.:[成人用品]
1244686133.725 4 192.168.0.20 TCP_MISS/403 5480 GET
http://192.168.0.20/ - FIRST_UP_PARENT/192.168.0.10 text/html学习
1244686136.833 1 192.168.0.20 TCP_MISS/404 705 GET
http://192.168.0.20/favicon.ico - FIRST_UP_PARENT/192.168.0.10 .
text/html
1244686172.111 0 192.168.0.20 TCP_NEGATIVE_HIT/403 5487 GET
http://192.168.0.20/ - NONE/- text/html域名
1244686172.124 2 192.168.0.20 TCP_MISS/304 390 GET - http://upload.bbs.csuboy.com/Mon_1004/126_6709_6e3cc1247134f49.png[/img] 女人
FIRST_UP_PA.RENT/19.2.168.0.10 -外贸
cache.log中的记录:
Ready to. serve requests.电脑
temp.orary disabling (.Not Found) digest from 192.168.0.10 乙肝