Koozali.org: home of the SME Server

Dansguardian Templating Site Additions

cptrgy1

Dansguardian Templating Site Additions
« on: December 21, 2006, 04:13:42 PM »
I have been using SME for a while but never quite understood templating and how to add to/expand.    I have a list of sites I would like to add to Dansguardian block and allow lists without doing them one at a time.   I know where the templates are but do not know if I need to create a new fragment or if I can just add to one of the existing ones.  Once I do how do I expand so they are active?

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Dansguardian Templating Site Additions
« Reply #1 on: December 21, 2006, 04:27:00 PM »
cptrgy1

Dansguardian is not templated. Just change the appropriate config files in /etc/dansguardian/.... and then restart dansguardian.
There is a howto I wrote that gives all the details, although there is an even newer version of dansguardian released for sme now.

http://mirror.contribs.org/smeserver/contribs/rmitchell/smeserver/howto/dansguardian%20instal%20&%20configure%20HOWTO%20for%20sme%20server.htm
...

cptrgy1

Dansguardian Templating Site Additions
« Reply #2 on: December 21, 2006, 04:35:04 PM »
Thanks for the help.   I installed the Dungog packages and have been using this method since SME 5.5.   I just setup a 7.0 server from scratch and installed Dans using the yum install method.   When you say that it is not templated, then why are there multiple template framents in /etc/e-smith/etc/dansguardian      Do they not serve a purpose?

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Dansguardian Templating Site Additions
« Reply #3 on: December 21, 2006, 04:47:03 PM »
cptrgy1

> why are there multiple template framents in /etc/e-smith/etc/dansguardian      

Are you using the commercial or the free dungog version ?
What rpm versions are you using ?
I do not see any templates in the location you quoted when using
dansguardian-2.8.0.6-1.2.el4.rf
smeserver-dansguardian-1.2-4
...

Offline byte

  • *
  • 2,183
  • +2/-0
Dansguardian Templating Site Additions
« Reply #4 on: December 21, 2006, 06:56:05 PM »
Moving this topic to the SME 7.x contribs forum, it is more appropriate there. Thanks!
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline stephen noble

  • *
  • 607
  • +1/-0
    • Dungog
Dansguardian Templating Site Additions
« Reply #5 on: December 22, 2006, 02:42:58 AM »
these are generic answers that apply to any templates


> I know where the templates are
good

>but do not know if I need to create a new fragment
yes, eg 30local

>or if I can just add to one of the existing ones.
no, it will be overwritten next time you upgrade

>Once I do, how do I expand so they are active?
expand-template /etc/foo & reload config files with app or
signal-event conf-foo or
or save a setting in a panel that regenerates the config files

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Dansguardian Templating Site Additions
« Reply #6 on: July 11, 2007, 05:57:12 PM »
cptrgy1

New Howto here that simplifies configuration with db commands
http://wiki.contribs.org/Dansguardian
...