[squid-users] deny_info page not shown

Amos Jeffries squid3 at treenet.co.nz
Fri Aug 28 05:08:01 UTC 2020


On 28/08/20 4:08 pm, Janos Dohanics wrote:
> Hello,
> 
> In my config file I have:
> 
> deny_info http://google.com custom
> 
> However, Firefox shows the error page "Unable to connect".
> 

When? To what type of URL?


> 
> acl custom dstdom_regex "/usr/local/share/examples/squidGuard/blacklists/custom/banlist.txt"
> http_access deny custom

Denies a client access to some traffic ...

> deny_info http://google.com custom

Asks Squid to perform a URL-redirect to http://google.com instead of
delivering error pages when ACL "deny custom" happens.


> http_reply_access deny custom

... denies Squid permission to deliver your custom URL-redirect to the
client.

> 
> Would you please point out the problem?


Two problems. The one mentioned above.

Plus the fact that Browsers refuse to display or do anything for non-200
status responses to CONNECT tunnels. Whenever Browsers access https://
URLs through the proxy they use CONNECT tunnels.

Amos


More information about the squid-users mailing list