Squid configuration directive reply_header_replace
Available in: 3.3 3.2 3.1 3.HEAD
History:
- Changes in 3.2 reply_header_replace
-
Added support for custom response header names.
- Changes in 3.1 reply_header_replace
-
This option allows you to change the contents of reply headers.
In Squid 2 header_replace (now deprecated) worked for both requests and replies, while in Squid 3 it only did respect request headers. This option brings back the functionality to replace the contents of reply headers. Consult the documentation for usage details.
Configuration Details:
Option Name: | reply_header_replace |
---|---|
Replaces: | |
Requires: | --enable-http-violations |
Default Value: | none |
Suggested Config: |
|
Usage: reply_header_replace header_name message Example: reply_header_replace Server Foo/1.0 This option allows you to change the contents of headers denied with reply_header_access above, by replacing them with some fixed string. This only applies to reply headers, not request headers. By default, headers are removed if denied. |
|
Search
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Help Out or Donate
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- 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
Miscellaneous
- Developer Resources
- Related Writings
- Related Software:
- Squid Artwork