Koozali.org: home of the SME Server

Squid Custom template

Offline bloodshoteye

  • *****
  • 232
  • +0/-0
  • Grateful thanks to SME devs
Squid Custom template
« 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.
SME Server is a fantastic product - thank you!

Offline pfloor

  • *****
  • 889
  • +1/-0
Re: Squid Custom template
« Reply #1 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>
In life, you must either "Push, Pull or Get out of the way!"

Offline bloodshoteye

  • *****
  • 232
  • +0/-0
  • Grateful thanks to SME devs
Re: Squid Custom template
« Reply #2 on: March 19, 2008, 03:58:31 PM »
Thanks. I'll check this a.s.a.p
SME Server is a fantastic product - thank you!

Offline bloodshoteye

  • *****
  • 232
  • +0/-0
  • Grateful thanks to SME devs
Re: Squid Custom template
« Reply #3 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  :)

SME Server is a fantastic product - thank you!