Re: [SQU] Always direct some domain

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 18 Oct 2000 22:54:28 +0200

Domains must have a leading dot in them..

acl alwdir dstdomain .net2phone.com .dialpad.com .hottelephone.com

or else only the exact hostname is matched.

--
Henrik Nordstrom
Squid hacker
Catalin Tatu wrote:
> 
> I'm using RedHat 6.1, Squid-2.3.stable.3 with a parent.
> My clients are telling me that when they want to access some domains,
> which offer free long distance phone calls, can't do any call. Because
> that I want to always direct some domain (like net2phone.com,
> hottelephone.com ...) and I do this :
> 
> acl alwdir dstdomain net2phone.com dialpad.com hottelephone.com
> always_direct allow alwdir
> 
> From access.log I see that when a client access any of that domain,
> the first request (which is the name of the domain: www.dialpad.com)
> are going directly and all other request for that domain are going
> through parent.
> 
> What's wrong ?
> 
> ----------------------------------------------------------
> |                Catalin Tatu                       |
> |  cata@1a.ro, 1A S.C.S. Constanta     |
> ----------------------------------------------------------
--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Wed Oct 18 2000 - 15:17:15 MDT

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