Niladri Mukherjee wrote:
We are doing the same by the following.
1. At squid.conf :
acl Banned_URLs url_regex -i "/etc/squid/banned_urls.txt"
For what it's worth you could change this to a dstdomain ACL, like...
acl BannedURLs dstdomain "/etc/squid/banned_urls.txt
http_access allow FullTime_DnlUpl !Banned_URLs
2. At The file /etc/squid/banned_urls.txt :
www.xxxxx.com:443
The file should then have a content more along the lines of...
www.xxxxx.com
...or if you want to match all of xxxxx.com you could use...
.xxxxx.com
Why would you make this change? Regular expression matching is
computationally expensive and should be avoided when possible.
Thankx,
Niladri Mukherjee
IT Deptt.,
M.N.Dastur & Company (P) Ltd., 3rd Floor,
Kolkata, West Bengal.
Ph: 91 33 22250500/5420, Ext: 580
Fax: 91 33 22251422
Chris