Squid configuration directive header_replace

Available in: 3.2   3.1   2.7   3.HEAD   2.HEAD   3.0   2.6  

History:

Changes in 3.1 header_replace

Deprecated. Use request_header_replace or reply_header_replace instead.

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.

	This only applies to request headers, not reply headers.

	By default, headers are removed if denied.

 

Back

Search

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors