<div dir="ltr">OS: Ubuntu 14.04 LTS <br><br>After i installed the squid3 package for the 1st time, i've add a list of domains to be blocked in squid.conf:<br><br>    acl myrule dstdom_regex "/etc/squid3/domainblock.txt"<br>    http_access deny myrule<br><br>where domainblock.txt is<br><br>    <a href="http://someaddress.com" target="_blank">someaddress.com</a><br>    <a href="http://blockthis.net" target="_blank">blockthis.net</a><br><br>Which worked fine and redirect them to localhost running on my LAMP<br><br>    Index of /<br>    <br>    Name   Last modified   Size   Description<br>    <br>    html   2014/04/10<br>    ------------------------------<div dir="ltr">----------------------<br>    Apache/2.4.7 (Ubuntu) Server at <a href="http://google-analytics.com" target="_blank">google-analytics.com</a> Port 80<br><br>Later i purged it by:<br><br>    sudo apt-get remove --purge squid3*<br><br>and
 removed every file&folder the command "locate squid" gave, 
including the "/etc/squid3" folder then reboot. But i still couldnt 
access the websites in "domainblock.txt" even though it doesnt exist 
anymore.<br><br>Then i re-installed with sudo apt-get install squid3 this time with the config to allow those websites in the list:<br><br>    acl myrule dstdom_regex "/etc/squid3/domainblock.txt"<br>    http_access allow myrule<br><br>But still no luck. I guess some configurations remain even after removing the squid in the system. So what should i do now?<br><br>Note: The default "squid.conf" is huge to add here, but i just added these lines above & changed nothing.</div></div>