|
Home > Archive > Squid > February 2005 > ACL for site.com site.org site.etc
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
ACL for site.com site.org site.etc
|
|
|
| Hello,
When i want to block my.site.com and your.site.com
then i can add in webmin, Web Server Hostname ACL, with domains: .site.com
now it wil block my.site.com and your.site.com
But how should i manace blocking site.com site.org site.etc
I can't insert domains: site.
Is this possible with squid?
Thanks
| |
| Muthukumar_K 2005-02-28, 5:00 am |
| quote: Originally posted by -
Hello,
When i want to block my.site.com and your.site.com
then i can add in webmin, Web Server Hostname ACL, with domains: .site.com
now it wil block my.site.com and your.site.com
But how should i manace blocking site.com site.org site.etc
I can't insert domains: site.
Is this possible with squid?
Thanks
Yes.
You can do this with dstdom_regex acl type as,
-- squid configuration file ---
acl site dstdom_regex site
http_access deny site
dstdom_regex acl will block the domain names with site word.
HTH. |
|
|
|
|