[squid-users] deny_info URL not working

Amos Jeffries squid3 at treenet.co.nz
Sun May 12 11:44:34 UTC 2024


On 12/05/24 17:48, Dieter Bloms wrote:
> Hello,
> 
> On Sat, May 11, Vilmondes Queiroz wrote:
> 
>> deny_info http://example.com !authorized_ips
> 
> does it works, if you add the http status code like:
> 
> deny_info 307:http://example.com !authorized_ips
> 

Also the "!" is not valid here. The ACL on deny_info lines is the name 
of the one that is to be adjusted when it is used for a "deny" action 
by, for example, "http_access deny".


   acl authorized_ips src ...
   deny_info 307:http://example.com authorized_ips
   http_access deny !authorized_ips


HTH
Amos


More information about the squid-users mailing list