Search squid archive

RE: Are comments in external files allowed

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

 




> To: squid-users@xxxxxxxxxxxxxxx
> Date: Thu, 19 Jan 2012 10:33:31 +1300
> From: squid3@xxxxxxxxxxxxx
> Subject: Re:  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 		 	   		  


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

  Powered by Linux