Squid configuration directive header_replace

Available in: 2.7   3.0   2.6  

This directive is not available in the v6 version of Squid.

This directive is not available in the v5 version of Squid.

This directive is not available in the v4 version of Squid.

This directive is not available in the 3.5 version of Squid.

For older versions than 3.5 see the linked pages above

Configuration Details:

Option Name:header_replace
Replaces:
Requires:--enable-http-violations
Default Value:none
Suggested Config:

	Usage:   header_replace header_name message
	Example: header_replace User-Agent Nutscrape/1.0 (CP/M; 8-bit)

	This option allows you to change the contents of headers
	denied with header_access above, by replacing them with
	some fixed string. This replaces the old fake_user_agent
	option.

	By default, headers are removed if denied.

 

Back

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors