Synopsis
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>
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.
Arguments
path
|
Location of the rewriter program |
rewriter
|
Executable file that performs the rewrite process |
Example(s)
location_rewrite_program /usr/local/squid/loc_prog |