url_regex is a generic regular expression match on the whole URL. Search
time is linear to the amount of entries in the acl list.
dstdomain is an optimized match for matching domain (and host) names
only. Capable of handling huge lists of matches with only a small
performance penalty, and is generally a lot simpler to use if matching
host names or domains is actually what you are after. dstdomain also
tries to reverse-lookup IP addresses if the user specified IP, making it
further suitable for matching host names.
Regards
Henrik Nordström
Squid Developer
MARA Systems AB, Sweden
derix suartyo wrote:
>
> Dear Yuriy,
>
> Acctualy, i do not know what's the different if we were using url_regex
> and dstdomain. Cause as far as i know, this 2 commands have a same
> function but maybe you were right, that url_regex do not have reverse
> lookup. Anyone in this list may give a right explanation about the main
> different between url_regex and dstdomain?
> Thank you very much.
>
> regards,
>
> Derix Suartyo.
Received on Fri Jan 11 2002 - 16:46:56 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:05:49 MST