[squid-users] FATAL error while using dstdomain directive
Eric C. Kom
eric.kom83 at gmail.com
Tue Jun 20 14:24:09 UTC 2017
Sorry for not seen
On 20 June 2017 at 16:09, Ralf Hildebrandt <Ralf.Hildebrandt at charite.de>
wrote:
> * Eric C. Kom <eric.kom83 at gmail.com>:
> > Good day Folks,
> > Please I tried to block websites like youtube.com and facebook.com
> using
> > acl dstdomain directive without success.
> >
> > Squid replied the above error:
> > erickom at proxy:/etc/squid3$ sudo squid3 -z
> > 2017/06/20 15:37:37| ERROR: '.google.com' is a subdomain of 'google.com'
> > 2017/06/20 15:37:37| ERROR: You need to remove '.google.com' from the
> ACL named 'ban_list'
>
> It SAYS what you need to do...
>
> > erickom at proxy:/etc/squid3$ cat ban_list
> > google.com
>
> Remove .google.com
>
> > youtube.com
>
> Remove .youtube.com
>
> > facebook.com
>
> Remove .facebook.com
>
> --
> Ralf Hildebrandt Charite Universitätsmedizin Berlin
> ralf.hildebrandt at charite.de Campus Benjamin Franklin
> https://www.charite.de Hindenburgdamm 30, 12203 Berlin
> Geschäftsbereich IT, Abt. Netzwerk fon: +49-30-450.570.155
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20170620/d22f710c/attachment-0001.html>
More information about the squid-users
mailing list