[squid-users] Allow specific set of IP to access a specific set of URL

Klaus Brandl klaus_brandl at genua.de
Wed Feb 24 09:14:30 UTC 2021


The acl for the url must be of type url_regex, or something else:

acl allowedurl url_regex "url.txt"

Regards

Klaus

Am Dienstag, den 23.02.2021, 18:09 +0000 schrieb Arjun K:
> Hi Team
> 
> Could you please let me know how to define an acl so that a specific
> set of IPs can access alone a specific set of URLs.
> How to define such ACL.
> 
> acl <aclname> src "iplist.txt"
> acl allowedurl src "url.txt"
> http_access <aclname> allowedurl
> 
> The above configuration results in ERROR 403 in the logs.
> 
> Also, I have an existing configuration which should not get affected
> and it should not interfere in the rules which were allowed for the
> servers previously.
> 
> 
> Kindly help me in getting the acl so that a specific set of IP can
> access set of URLs without losing access to other sites which are
> present already in the configuration.
> 
> 
> Regards
> Arjun K.
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users


More information about the squid-users mailing list