Starting to feel like a parrot here: In most cases url_regex is not
suitable for blocking. Any url_regex patterns needs to be carefully
constructed to only match what they should match and your lists of
url_regex patterns should in most cases be relatively show.
If you find that you get a long url_regex patterns (more than maybe 15
entries) then you have quite likely selected the wrong path and should
investigate other acl types.
Also, when using any of the regex based acl types in Squid, first spend
a few minutes to learn the regex language. Regex is NOT word or
substring matches, it is regex matches.
Regards
Henrik
tor 2003-01-16 klockan 05.08 skrev Manjunath H N:
> Hello All,
>
> I had sent this mail earlier but got no response so I am sending it again.
>
> I have put the following lines to block porn access, & allow sites which are
> not porn,
>
> acl noporn url_regex "/opt/squid/etc/noporn"
> acl porn url_regex "/opt/squid/etc/porn"
>
> Suppose I have to access the site http://www.cmosexod.com/
> I put the above site in noporn & I am able to access this site, but if I
> have to access the links in the above said web site it gets blcoked, How do
> I unblock all the subdomains in a particular domain after allowing it.
>
> TIA
> -- Manjunath H N
>
>
>
> DISCLAIMER:
>
> This e-mail and any attachment (s) is for authorised use by the intended recipient (s) only. It may contain proprietary material, confidential information and/or be subject to the legal privilege of iWave Systems Technologies Private Limited. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from retaining, using, copying, alerting or disclosing the content of this message. Thank you for your co-operation.
Received on Thu Jan 16 2003 - 03:14:38 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:12:41 MST