RE: [squid-users] Squid ACL (Is this Possible)

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Wed, 20 Sep 2006 14:47:15 +0200

ons 2006-09-20 klockan 11:28 +0100 skrev Mehmet, Levent (Accenture):
> Thanks
>
> Please can you explain what this line means with its characters:
>
> acl NWW dstdom_regex \.?nww\.

maybe a dot followed by nww followed by a dot, anywhere in the hostname
component of the requested URL.

Probably this is not was wat intended as "maybe a dot" is always true..
even in somethingnnw.example.com. I think the indended pattern more
likely is

      (^|\.)nww\.

which matches hostnames beginning with nww. or having .nww. anywhere in
their name.

Regards
Henrik

Received on Wed Sep 20 2006 - 06:47:26 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Oct 01 2006 - 12:00:03 MDT