Re: header_access directive in Squid3/HEAD

From: Alex Rousskov <rousskov_at_measurement-factory.com>
Date: Fri, 12 Sep 2008 13:43:07 -0600

On Fri, 2008-09-12 at 12:44 -0500, Ritter, Nicholas wrote:
> Was the "header_access" directive/functionality removed or otherwise
> broken in Squid3/HEAD?
>
> I am using squid-3.HEAD-20080910 with the following config lines:
>
> acl appsds_ctl url_regex -i ^http://apps.ds.atv/
> request_header_access Cache-Control deny appsds_ctl
> header_access Cache-Control deny appsds_ctl
> header_replace Cache-Control public, s-maxage=14400, max-age=14400
>
>
> And a "squid -k parse" gives me the following error:
>
> 2008/09/12 12:44:21| Processing Configuration File:
> /usr/local/squidapp/etc/squid.conf (depth 0)
> 2008/09/12 12:44:21| cache_cf.cc(360) parseOneConfigFile: squid.conf:473
> unrecognized: 'header_access'

There is no such directive as header_access. There are
request_header_access and reply_header_access (provided you have not
disabled HTTP violations during ./configure).

HTH,

Alex.
Received on Fri Sep 12 2008 - 19:44:07 MDT

This archive was generated by hypermail 2.2.0 : Sat Sep 13 2008 - 12:00:05 MDT