{"id":83,"date":"2004-06-21T09:17:10","date_gmt":"2004-06-21T14:17:10","guid":{"rendered":"http:\/\/192.168.33.66\/wp\/?p=83"},"modified":"2004-06-21T09:17:10","modified_gmt":"2004-06-21T14:17:10","slug":"squid-blacklist","status":"publish","type":"post","link":"http:\/\/www.wildow.com\/blog\/?p=83","title":{"rendered":"squid blacklist"},"content":{"rendered":"<p>\nAdd these lines in \/etc\/squid\/squid.conf<\/p>\n<p>acl blacklist url_regex -i &#8220;\/etc\/squid\/blacklist.txt&#8221;<br \/>\nacl blackpath urlpath_regex -i &#8220;\/etc\/squid\/blackpath.txt&#8221;<\/p>\n<p>http_access deny blacklist<br \/>\nhttp_access deny blackpath<\/p>\n<p>Edit \/etc\/squid\/blacklist.txt to block whole URL<\/p>\n<p>http:\/\/denysite.com<br \/>\nhttp:\/\/badsite.com\/badcontents\/<\/p>\n<p>Edit \/etc\/squid\/blackpath.txt to block maching on URL<\/p>\n<p>denyword<br \/>\nbadword<\/p>\n<p>After changing these files, you need to reload your squid <br \/>\n\/etc\/init.d\/squid reload<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Add these lines in \/etc\/squid\/squid.conf acl blacklist url_regex -i &#8220;\/etc\/squid\/blacklist.txt&#8221; acl blackpath urlpath_regex -i &#8220;\/etc\/squid\/blackpath.txt&#8221; http_access deny blacklist http_access deny blackpath Edit \/etc\/squid\/blacklist.txt to block whole URL http:\/\/denysite.com http:\/\/badsite.com\/badcontents\/ Edit \/etc\/squid\/blackpath.txt to block maching on URL denyword badword After changing &#8230; <a class=\"more-link\" href=\"http:\/\/www.wildow.com\/blog\/?p=83\">Read More &raquo;<\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-83","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/83","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=83"}],"version-history":[{"count":0,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/83\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=83"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=83"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=83"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}