Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: bloodshoteye on March 18, 2008, 08:49:47 AM

Title: Squid Custom template
Post by: bloodshoteye on March 18, 2008, 08:49:47 AM
Hi all,
I can't figure out why this is happening, as shown by /etc/squid/squid.conf:
Quote
...snipped
acl tinprint src 10.0.1.244acl CONNECT method CONNECT
snipped...

It seems when I insert a custom snippet, the following existing snippet, in this case "acl CONNECT method CONNECT" is concatenated to the inserted line after expanding the template. The same thing occurs on the http_access custom snippet as well.
As far as I can tell, I'm following the snippet numbering convention.

I have not found a previous experience in the forum thus far.
How can I prevent this, please?

Thanks,

Regards,
Darryl.
Title: Re: Squid Custom template
Post by: pfloor on March 18, 2008, 03:53:30 PM
Looks like you may need a Carriage Return in your custom template. eg:

acl tinprint src 10.0.1.244 (CR)
<Blank line>
Title: Re: Squid Custom template
Post by: bloodshoteye on March 19, 2008, 03:58:31 PM
Thanks. I'll check this a.s.a.p
Title: Re: Squid Custom template
Post by: bloodshoteye on March 20, 2008, 11:42:38 AM
pfloor
Quote
Looks like you may need a Carriage Return in your custom template. eg:

acl tinprint src 10.0.1.244 (CR)
<Blank line>

Was exactly that. Somehow feels wrong to hit Enter, put the cursor on a new line, save and exit, but that's what I did. No more concatenation  :)