[squid-users] Rewriting URL after the ACL check

From: Juha Mustonen <juha.mustonen_at_sc5.io>
Date: Mon, 27 May 2013 14:10:34 +0300

Hi all,

Is it possible to rewrite the URL *after* the ACL checks? I'm putting
an extra argument into URL (for ACL) - but they aren't needed after
the proxy. So I'm trying to use rewrite for stripping the argument -
but it seems the ACL checks are done after done after the rewrites,
despite the order.

----
# ACL
external_acl_type check %URI check.sh
acl checker external check
http_access allow checker
http_access deny all
# Strip extra variable
url_rewrite_program clean.sh
----
Possible?
Thanks for you insight,
Juha Mustonen
Received on Mon May 27 2013 - 11:10:42 MDT

This archive was generated by hypermail 2.2.0 : Mon May 27 2013 - 12:00:07 MDT