> To: squid-users_at_squid-cache.org
> Date: Thu, 19 Jan 2012 10:33:31 +1300
> From: squid3_at_treenet.co.nz
> Subject: Re: [squid-users] Are comments in external files allowed
>
> On 18.01.2012 14:45, James Robertson wrote:
> > Excuse the basic question but is adding comments to external files
> > allowed in squid. For example...
> >
> > acl blockedsites dstdomain "/etc/squid3/blockedsites.txt"
> >
> >> cat /etc/squid3/blockedsites.txt
> > # block facebook
> > .facebook.com
> >
> > I googled and found examples where comments were used but nothing
> > conclusive to say it's ok. I have tested and it appears to work fine
> > but want to be sure.
> >
> > Thanks
>
> May depend on your squid version. The 3.x series allow '#' comments in
> the sub-files.
>
> I don't think the original 2.5 parser did though, there are quite a few
> directives in the main squid.conf which use that older parser and break
> with trailing # comments.
>
> Amos
>
I think it did. I remember having comments in the referenced files for as long as I have been using squid. (Proxy Auth files or dstdomain files I believe)
Jenny
Received on Thu Jan 19 2012 - 06:20:50 MST
This archive was generated by hypermail 2.2.0 : Thu Jan 19 2012 - 12:00:03 MST