Answer the question
In order to leave comments, you need to log in
How do I configure Squid to automatically apply domain name rules to matching IP addresses?
Hey!
Here is part of the squid config:
acl test dstdomain .domain.com
http_access deny test
Answer the question
In order to leave comments, you need to log in
acl ip_access url_regex -i ^ http://[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+
acl exclude_ip url_regex -i ^ http:// 72\.14\.207\.104 - definition of the exclusion group (allowed choice of digital ip)
http_access deny ip_access !exclude_ip - deny access to all ip dialed "in numbers" except for exclude_ip
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question