On tis, 2008-10-21 at 14:55 +0200, Christian Tzolov wrote: > Hi all, > > I would like to reduce the diversity of Accept-Encoding request header > values by replacing the header with a hardcoded value like: > "gzip,deflated". > > In Squid 2.6 there are two directives that seems sutible for the job: > header_access and heaer_replace. Will the following configuration do the > job? > > header_access Accept-Encoding deny all > header_replace Accept-Encoding gzip,deflated > > If yes are they replaced before or after squid cache the entry? heder_access/replace is only applied on forwarded requests, modifying the headers as sent by Squid. They do not modify Squid's own view of received headers. Regards Henrik
Attachment:
signature.asc
Description: This is a digitally signed message part