Re: [squid-users] external_acl mysql

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 10 Mar 2011 11:55:04 +1300

 On Wed, 09 Mar 2011 09:44:37 -0500, Osmany wrote:
> Greetings,
>
> Ok. I'm sure this is something that has been asked many times but I
> googled alot and there is no real documentation or a how to for this.
> Basically I wan all my acls that are pointing to a straight forward
> text
> file on my configuration to poin to a table in a mysql database that
> I
> have. So for example I want all my blocked sites to be in a mysql
> table
> so that I can use an external_acl helper. What I'm really having
> trouble
> to find is a decent script in perl or python or whatever that does
> this.
> Has anyone successfully done this?
>
> thanks in advance

 The basic DB auth helper is trivially altered to handle any input
 parameters and query for external_acl_type.

 Amos
Received on Wed Mar 09 2011 - 22:55:07 MST

This archive was generated by hypermail 2.2.0 : Thu Mar 10 2011 - 12:00:02 MST