Search squid archive

Re: Squid3 config on Ubuntu remains even after uninstall and ignore the new config

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/11/2014 12:22 a.m., Efe wrote:
> OS: Ubuntu 14.04 LTS
> 
> After i installed the squid3 package for the 1st time, i've add a
> list of domains to be blocked in squid.conf:
> 
> acl myrule dstdom_regex "/etc/squid3/domainblock.txt" http_access
> deny myrule
> 
> where domainblock.txt is
> 
> someaddress.com blockthis.net

For domain names like this you should be using "dstdomain" ACL type
instead of a regex.

> 
> Which worked fine and redirect them to localhost running on my
> LAMP

?? there is nothing about a "redirect" in that squid.conf snippet you
showed.

Can you please display the whole squid.conf. Without all the
documentation #comment or empty lines though.


> 
> Index of /
> 
> Name   Last modified   Size   Description
> 
> html   2014/04/10 ------------------------------ 
> ---------------------- Apache/2.4.7 (Ubuntu) Server at
> google-analytics.com Port 80
> 
> Later i purged it by:
> 
> sudo apt-get remove --purge squid3*
> 
> 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.

"it" being squid I assume?

There is almost always other configuration you had to add in the
network or browser causing the browser to use the proxy. This will
have probably broken your test result.

If you did actually not have any of that, then you just proved that
Squid was not involved with the problem.

> 
> Then i re-installed with sudo apt-get install squid3 this time with
> the config to allow those websites in the list:
> 
> acl myrule dstdom_regex "/etc/squid3/domainblock.txt" http_access
> allow myrule
> 
> But still no luck. I guess some configurations remain even after
> removing the squid in the system. So what should i do now?

What do you want to achieve exactly?

Amos
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQEcBAEBAgAGBQJUYL6CAAoJELJo5wb/XPRjF/sIANt7v8/BpcZ4taHWpRZyXbul
mdr6Cq7rfNb8VRiR41GYnEi0qDuSsSb31ciCpVAVoaeIBF48FufleqQ+QH3kn8M3
ETvNuUHis2Wd8gNXKd3pWtqBx+AbVyPzgKpJebBma0KeOw1eE3Jwevsqbjh/yMBq
KLNfDH0CgL63wYkbNquP3AjDkQggv/w/YvD9bFQY1JfMsaTb64CEdP6NdtEbgnhi
PBo9p9/T1HBkfBf2kg+uElR+TMur1OoHaztxx8g+iiqfBHSocaXhWRCtayhqg35X
8DCmysOYNjY9FyQHZAKFaSeb4WyD02On/KOchH3/5ZHCA1P4HG9zF8V4KYmlgfc=
=iena
-----END PGP SIGNATURE-----
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users





[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux