[squid-users] redirect based on url (302)
Amos Jeffries
squid3 at treenet.co.nz
Wed Oct 31 02:16:17 UTC 2018
On 31/10/18 12:49 AM, uppsalanet wrote:
> Thanks,
> Missed that I need to install squid-helpers "yum install squid-helpers" :-)
> Now it's there.
>
> Now I use it like this:
>
> external_acl_type whitelist ttl=60 children-max=1 %SRC %DST
> /usr/lib64/squid/ext_sql_session_acl --user root --password config --table
> sessions --cond "" --debug
>
> But receive this:
> /2018/10/30 12:38:37.279| 82,9| external_acl.cc(600) aclMatchExternal:
> acl="whitelist"
> 2018/10/30 12:38:37.280| 82,9| external_acl.cc(629) aclMatchExternal: No
> helper entry available
> 2018/10/30 12:38:37.280| 82,2| external_acl.cc(663) aclMatchExternal:
> whitelist("130.238.171.59 muse.jhu.edu -") = lookup needed
> 2018/10/30 12:38:37.280| 82,2| external_acl.cc(667) aclMatchExternal:
> "130.238.171.59 muse.jhu.edu -": queueing a call.
> 2018/10/30 12:38:37.280| 82,2| external_acl.cc(1031) Start: fg lookup in
> 'whitelist' for '130.238.171.59 muse.jhu.edu -'
Oh darn. Sorry, I forgot about the implicit %DATA parameters on external
ACL yet again. One of the things on my long todo list is to make that
optionally ignored.
For now the easiest fix/workaround is to have your custom helper append
that " -" string to the IDs in the database.
Amos
More information about the squid-users
mailing list