[squid-users] deny_info URL not working

Vilmondes Queiroz eracton at gmail.com
Sat May 11 21:59:31 UTC 2024


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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20240511/a270a1fc/attachment.htm>


More information about the squid-users mailing list