[squid-users] reverse proxy and HTTP redirects

Vieri Di Paola vieridipaola at gmail.com
Thu Dec 5 16:46:23 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

Sorry to bother you again with this, but what does
"%note{location-rewrite}" mean?
I'm getting this error message:
FATAL: status 302 requires a URL on '302:%note{location-rewrite}'

Thanks,

Vieri


More information about the squid-users mailing list