Re: [squid-users] header_access help

From: Henrik Nordström <henrik_at_henriknordstrom.net>
Date: Thu, 18 Feb 2010 01:00:50 +0100

ons 2010-02-17 klockan 15:50 +0100 skrev David C. Heitmann:
> how can i make a acl rule for reply- and request_header_access???
> i would only allow User-Agent for gmx and ebay

User-Agent is a request header, so only request_header_access would be
relevant.

> i have testing:
> acl gmx srcdomain gmx.net gmx.de gmx.com

Hmm.. have a feeling that should be dstdomain and with a leading dot
infront of each...

srcdomain matches the domain/hostname of the requesting client.

dstdomain matches the domain/hostname of the requested URL.

Regards
Henrik
Received on Thu Feb 18 2010 - 00:00:54 MST

This archive was generated by hypermail 2.2.0 : Thu Feb 18 2010 - 12:00:06 MST