Re: [squid-users] Unknown cfg function

From: Eliezer Croitoru <eliezer_at_ngtech.co.il>
Date: Sat, 27 Jul 2013 03:17:15 +0300

On 07/27/2013 01:54 AM, Alex Rousskov wrote:
> 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.
>
Try removing all refresh_pattern from the squid.conf and see what happens.

Eliezer
Received on Sat Jul 27 2013 - 00:17:27 MDT

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