Re: [squid-users] reading external acl from squid.conf

From: alexus <alexus_at_gmail.com>
Date: Tue, 16 Aug 2011 17:00:02 -0400

tried that but but made a syntax error so it didn't work
tried it again using right syntax and it works like a charm!
thanks!

On Tue, Aug 16, 2011 at 4:20 PM, Leonardo Rodrigues
<leolistas_at_solutti.com.br> wrote:
>
>    of course !!!
>
> acl bk src "/path/to/your/file.txt"
>
> file.txt would be
>
> ----------------
> 192.168.1.2
> 192.168.2.38/32
> 192.168.20.0/24
> 10.8.0.0/16
> ----------------
>
> (note the /32 is not needed. if / is not specified, its automatically /32)
>
>    and after modifying the .txt file, you'll have to issue the command
>
> squid -k reconfigure
>
>    to ask squid to re-read external files
>
>
> Em 16/08/11 14:18, alexus escreveu:
>>
>> is there a way to have this
>>
>> acl bk src XX.XXX.XX.XX/32
>> acl bk src XXX.XX.XXX.XX/32
>>
>> in a external file and have squid.conf reference to it?
>>
>
>
> --
>
>
>        Atenciosamente / Sincerily,
>        Leonardo Rodrigues
>        Solutti Tecnologia
>        http://www.solutti.com.br
>
>        Minha armadilha de SPAM, NÃO mandem email
>        gertrudes_at_solutti.com.br
>        My SPAMTRAP, do not email it
>
>
>
>
>

-- 
http://alexus.org/
Received on Tue Aug 16 2011 - 21:00:08 MDT

This archive was generated by hypermail 2.2.0 : Wed Aug 17 2011 - 12:00:02 MDT