[squid-users] reverse proxy and HTTP redirects
Vieri Di Paola
vieridipaola at gmail.com
Thu Dec 5 16:57:25 UTC 2019
On Thu, Dec 5, 2019 at 11:48 AM Amos Jeffries <squid3 at treenet.co.nz> wrote:
>
> external_acl_type location_rewriter %<h{Location} /path/to/rewriter
> acl bad_Location external location_rewriter
>
> deny_info 302:%note{location-rewrite} bad_Location
> acl 302 http_status 302
> http_reply_access deny 302 bad_Location
I just read something about %note here:
http://www.squid-cache.org/Doc/config/logformat/
However, Squid 3.x doesn't seem to accept %note{location-rewrite} as a
URL placeholder for deny_info.
Vieri
More information about the squid-users
mailing list