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

From: Robert Collins <robert.collins@dont-contact.us>
Date: Fri, 11 May 2001 09:02:44 +1000

Would backquote be a good thing? It'll be trivial to add to the generic
modules parsing code. That won't Werner's question of course :]

Rob

----- Original Message -----
From: "Henrik Nordstrom" <hno@hem.passagen.se>
To: "Rost, Werner" <Werner.Rost@boge.mannesmann.de>
Cc: <squid-users@squid-cache.org>
Sent: Friday, May 11, 2001 2:32 AM
Subject: Re: [squid-users] squid.conf: continuation lines?

> 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 - 17:04:54 MDT

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