Re: [SQU] always_direct configuration problem

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 25 Oct 2000 23:38:08 +0200

Rajesh Bandar wrote:

> acl local dstdomain webspirs4.informit.com.au:8590
> always_direct allow local

dstdomain matches the hostname component of the URL, not the port. The
above ACL cannot match since it is not a syntactically correct host
name.

One way to write the above is by combining dstdomain and port

acl webspirs4 dstdomain webspirs4.informit.com.au
acl 8590 port 8590
always_direct allow webspirs4 8590

or you could use url_regex

acl webspirs4 url_regex ^http://webspirs4.informit.com.au:8590
always_direct allow webspirs4

--
Henrik Nordstrom
Squid Hacker
--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Wed Oct 25 2000 - 15:43:53 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:55:57 MST