Re: [squid-users] Unknown cfg function

From: Alex Rousskov <rousskov_at_measurement-factory.com>
Date: Fri, 26 Jul 2013 16:54:57 -0600

On 07/26/2013 09:39 AM, Marcos A. Dzieva wrote:
> Dear...
>
> Squid work fine with squid-3.HEAD-20130716-r12946 version, after
> compiled with squid-3.HEAD-20130726-r12960 the following error occurs:
>
> 2013/07/26 12:14:09| Processing: acl dontrewrite url_regex -i
> c\.youtube\.com\/.*(begin|start)\=.*
> 2013/07/26 12:14:09| Unknown cfg function: c\.youtube\.com\/.*
> FATAL: Bungled /etc/squid/squid.conf line 23: acl dontrewrite url_regex
> -i c\.youtube\.com\/.*(begin|start)\=.*
>
> What should I do to solve this?

Squid thinks you are calling a function called c\.youtube\.com\/.*
because of the parenthesis that follow. We should probably restrict
function detection to alphanumeric characters to minimize such problems.

Meanwhile, try quoting the entire regex:

  acl dontrewrite url_regex -i "c\.youtube\.com\/.*(begin|start)\=.*"

Does that work?

HTH,

Alex.
Received on Fri Jul 26 2013 - 22:55:16 MDT

This archive was generated by hypermail 2.2.0 : Sat Jul 27 2013 - 12:00:19 MDT