Squid configuration directive location_rewrite_program

Available in: 2.7   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:location_rewrite_program
Replaces:
Requires:
Default Value:none
Suggested Config:

	Specify the location of the executable for the Location rewriter,
	used to rewrite server generated redirects. Usually used in
	conjunction with a url_rewrite_program

	For each Location header received the location rewriter will receive
	one line with the format:

	   location URL <SP> requested URL <SP> urlgroup <NL>

	And the rewriter may return a rewritten Location URL or a blank line.
	The other components of the request line does not need to be returned
	(ignored if they are).

	By default, a Location rewriter is not used.

 

Back

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors