--- Roger Boussen <R.Boussen@Audax.nl> wrote:
> To block some site I have entered the following
> rules in squid.conf:
>
> acl blockedsites url_regex "/etc/squid/block.txt"
> acl unblockedsites url_regex
> "/etc/squid/unblock.txt"
> http_access deny blockedsites
> http_access allow unblockedsites all
>
> But is someone type porn (a word in block.txt) as
> searchstring at eg. altavista
> the message appears that this url is blocked.
> The only thing the person would do is searching for
> that word and maybe read
> some articles in a newpaper archive.
> So what I want is blocking URL's not typing words.
> What did I do wrong????
>
Hi,
Try with the dstdom_regex acl where regex match the
destination server.
Usage:
acl aclname dstdom_regex [-i] xxx ...
=====
regards
visolve_cache
visolve.com
http://www.v-solve.com
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
Received on Wed Feb 02 2000 - 21:12:31 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:50:55 MST