On Thu, 30 Sep 2004 08:36:29 -0700 (PDT) John Davis <[EMAIL PROTECTED]> wrote:
> Our squid blocks access to everything but approved > websites. Most of these sites have a domain, (ex: > www.yahoo.com ) but some places insist on using IP > addresses instead of domains for the URL, paticularly > certain government sites. Every time we get a request > for a new ip-addressed site to be added to the > whietlist, I have to add a DNS entry to our DNS server > for squid to allow connections. This gets really > complicated. > > How can I add individual IP addresses to the > whitelist like it was a domain? I have tried adding > the IP, and the IP range, but neither seems to work. > There must be some way, but I can't find it in the > docs or FAQs. Could someone tell me what the trick is > please? (Using an aol ip as an example): .64.12.187.24 works for me. I'm using url_regex to specify a file with one domain per line like this: acl unblockedsites url_regex -i "/etc/squid/unblock.txt" HTH, Jacob
