Re: [squid-users] ACL + regular expressions

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 13 Nov 2001 13:08:51 +0100

On Tuesday 13 November 2001 13.02, Christoph Krempe wrote:
> --On Dienstag, November 13, 2001 12:40:17 +0100 Henrik Nordstrom
>
> <hno@squid-cache.org> wrote:
> > If you want to match the whole domain server.com then use a dstdomain acl
> > with the pattern
> >
> > .server.com
>
> Doing so squid says
>
> aclParseIpData: Bad host/IP: '.server.com

Which tells me that you are not using a dstdomain acl but you apparently from
some reason tried to use a dst type acl instead. The two are quite different.

  dst matches IP addresses (can be specified using host names, which is then
resolved to IP) or network addresses.

  dstdomain matches host names or domains

  dstdom_regex matches host names or domains using regex patterns.

Regards
Henrik
Received on Tue Nov 13 2001 - 05:09:30 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:04:10 MST