Squid configuration directive request_header_replace
Available in: v7 v6 v5 v4 3.5 3.4 3.3 3.2 3.1
This directive is not available in the v8 version of Squid.
For older versions than v5 see the linked pages above
Configuration Details:
| Option Name: | request_header_replace | 
|---|---|
| Replaces: | header_replace | 
| Requires: | --enable-http-violations | 
| Default Value: | none | 
| Suggested Config: | 
 | 
    
Usage: request_header_replace header_name message Example: request_header_replace User-Agent Nutscrape/1.0 (CP/M; 8-bit) This option allows you to change the contents of headers denied with request_header_access above, by replacing them with some fixed string. This only applies to request headers, not reply headers. By default, headers are removed if denied.  | 
    |
Introduction
- About Squid
 - Why Squid?
 - Squid Developers
 - How to Donate
 - How to Help Out
 - Getting Squid
 - Squid Source Packages
 - Squid Deployment Case-Studies
 - Squid Software Foundation
 
Documentation
- Quick Setup
 - Configuration:
 - FAQ and Wiki
 - Guide Books:
 - Non-English
 - More...
 
Support
- Security Advisories
 - Bugzilla Database
 - Mailing lists
 - Contacting us
 - Commercial services
 - Project Sponsors
 - Squid-based products
 
