Siamcafe Community
หมวดหมู่หก => Proxy Cache , Security ,firewall => ข้อความที่เริ่มโดย: k1 ที่ สิงหาคม 12, 2010, 12:40:16 pm
-
:002:พึ่งเริ่มเรียนรู้และได้ติดตั้งsquid2.6 แต่ไม่ทราบวิธีอ่านหรือตั้งค่าการเก็บล็อคไฟล์เนื่องจากไม่มีความรู้ทางนี้เลยแต่อยากเพิ่มประสพการขอวอนท่านเทพทั้งหลายช่ายชี้แนะข้าน้อยตาดำๆด้วยเถิดจักเป็นพระคุณยิ่ง
-
ลองใส่ตัวนี้สิครับ
logformat squid %ts.%03tu %6tr %>a %Ss/%03Hs %<st %rm %ru %un %Sh/%<A %mt
logformat squidmime %ts.%03tu %6tr %>a %Ss/%03Hs %<st %rm %ru %un %Sh/%<A %mt [%>h] [%<h]
logformat common %>a %ui %un [%tl] "%rm %ru HTTP/%rv" %Hs %<st %Ss:%Sh
logformat combined %>a %ui %un [%tl] "%rm %ru HTTP/%rv" %Hs %<st "%{Referer}>h" "%{User-Agent}>h" %Ss:%Sh
access_log c:/squid/access.log squid
cache_store_log c:/squid/store.log squid
cache_log c:/squid/cache.log squid