[squid-users] deny_info page not shown

Janos Dohanics web at 3dresearch.com
Fri Aug 28 04:08:38 UTC 2020


Hello,

In my config file I have:

deny_info http://google.com custom

However, Firefox shows the error page "Unable to connect".

Here is the full config file:

acl SSL_ports port 443 4433 8443
acl CONNECT method CONNECT

http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost manager
http_access deny manager
http_access deny to_localhost

acl custom dstdom_regex "/usr/local/share/examples/squidGuard/blacklists/custom/banlist.txt"
http_access deny custom
deny_info http://google.com custom
http_reply_access deny custom

acl ads dstdom_regex "/usr/local/etc/squid/yoyo_ad_block.txt"
http_access deny ads
deny_info TCP_RESET ads

http_access allow localnet
http_access allow localhost
http_access deny all
http_port 3128

cache_dir ufs /var/squid/cache 100 16 256

coredump_dir /var/squid/cache

refresh_pattern ^ftp:		1440	20%	10080
refresh_pattern ^gopher:	1440	0%	1440
refresh_pattern -i (/cgi-bin/|\?) 0	0%	0
refresh_pattern .		0	20%	4320

logfile_rotate 0

banlist.txt:
.hulu.com
.netflix.com

Would you please point out the problem?


More information about the squid-users mailing list