Search squid archive

Re: 'include' feature

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

 



On Wed, Jan 09, 2008, Amos Jeffries wrote:
> Dave wrote:
> >I still get
> >
> >unrecognized: 'include /path/to/included/file/squid.acl.config'
> >
> >when trying it out
> 
> There seems to be a one-off error in the initial logics. whitespace in 
> the config line is at character 7 not 8.
> Fixing that here in the 3.1 port solves the problem you are seeing and 
> if the config is correct it works properly.

Oops!

        if (strlen(config_input_line) >= 9 && strncmp(config_input_line, "include", 7) == 0 && (config_input_line[8] == ' ' || config_input_line[8] == '\t')) {

Yeah. Ok, thats easy to fix. Change the [8] to [7].

> "FATAL: Bungled garbage-from-working-line-#2 line 3: acl"
> 'garbage-from-working-line-#2' is a tail of the acl line (2) preceeding 
> the intentionally bungled one (3) containing just "acl ".

Give me an example config setup with that?



adrian


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

  Powered by Linux