On Wed, Apr 28, 2010 at 06:21:34PM +0930, Andrew Commons wrote:
> As an aside, should the documentation extract below actually read:
>
> acl local_dst hdr(Host) -i localhost
> ^
> ^
> i.e. is the name of the header case sensitive? In my attempts to work this
> out I think that I had to use 'Host' rather than 'host' before it worked.
no, a header name is not case-sensitive, and the hdr() directive takes care of that for you. However a header value is case sensitive, and since the host header holds a DNS name, which is not case sensitive, you have to use -i to be sure to match any possible syntax a user might use.
Regards,
Willy
Received on 2010/04/28 22:13
This archive was generated by hypermail 2.2.0 : 2010/04/28 22:30 CEST