Re: [squid-users] deny_info URL not working
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 ___ squid-users mailing list squid-users@lists.squid-cache.org https://lists.squid-cache.org/listinfo/squid-users
Re: [squid-users] deny_info URL not working
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 -- Regards Dieter -- I do not get viruses because I do not use MS software. If you use Outlook then please do not put my email address in your address-book so that WHEN you get a virus it won't use my address in the >From field. ___ squid-users mailing list squid-users@lists.squid-cache.org https://lists.squid-cache.org/listinfo/squid-users
[squid-users] deny_info URL not working
Hello, squid -v Squid Cache: Version 6.6 What am I doing wrong here? *squid.conf:* external_acl_type ip_validator ttl=3600 negative_ttl=10 %SRC /usr/bin/python3 /home/ubuntu/squid/authentication.py acl authorized_ips external ip_validator deny_info http://example.com !authorized_ips http_access allow authorized_ips http_access deny !authorized_ips http_access deny all I'm not getting redirected to the URL when squid refused the connection. I can see in the access.log that the connection is getting rejected. This is a fresh squid installation. The only changes I made to the conf file are the above lines. Appreciate your help! ___ squid-users mailing list squid-users@lists.squid-cache.org https://lists.squid-cache.org/listinfo/squid-users