Re: [squid-users] squid.conf: continuation lines?

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 10 May 2001 18:32:36 +0200

I don't think backquote works, but you can split the ACL on multiple
lines:

acl intranet dst 111.222.333.0/255.255.255.0
acl intranet dst 111.222.334.0/255.255.255.0
...

Or you can use a include file for the IP addresses

acl intranet dst "/path/to/intranet/list.txt"

--
Henrik Nordstrom
Squid Hacker
Rost, Werner wrote:
> 
> Is it possible to break one long line into several lines? Then many entries
> would me more readable.
> 
> Example:
> 
> 1 long line
> 
> acl intranet      dst        111.222.333.0/255.255.255.0
> 111.222.334.0/255.255.255.0 111.222.335.0/255.255.255.0
> 111.222.336.0/255.255.255.0
> 
> Unix allows:
> 
> acl intranet      dst        111.222.333.0/255.255.255.0 \
>                              111.222.334.0/255.255.255.0 \
>                              111.222.335.0/255.255.255.0 \
>                              111.222.336.0/255.255.255.0
> 
> Any similar syntax for squid.conf?
> 
> regards
> 
> Werner Rost, KIR
> Mannesmann Boge GmbH
> 
> Tel.: 0228/3825 420
> Fax:  0228/3825 398
> 
> -----------------------------------------------------------
> This Mail has been checked for Viruses
> Attention: Encrypted Mails can NOT be checked !
> 
> ***
> 
> Diese Mail wurde auf Viren ueberprueft
> Hinweis: Verschluesselte Mails koennen NICHT geprueft werden!
> ------------------------------------------------------------
Received on Thu May 10 2001 - 10:36:24 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:59:55 MST