Search squid archive

Re: Unknown cfg function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.





[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux