File Paths
The full path to a file (for example /usr/local/etc/dansguardian/file).

In most cases none of the paths should be changed. All the defaults follow the same pattern and usually should not be overridden individually.

(The files under /usr/share are extra copies of the originals. If a file gets hopelessly messed up, you can copy one of these and start all over. They of course have the same names as the files you're used to seeing and editing. These files are not used at all by a running DansGuardian system. As these files are only for recovery, do not change them.)

Most DansGuardian file paths begin with a "prefix" that's the same for almost all the paths in that instance of DansGuardian. The prefix is usually either /usr/local or "" (nothing), causing the example default to be either /usr/local/etc/dansguardian/file or /etc/dansguardian/file.

The path prefix is set when DansGuardian is built (the 'configure' parameter is named --prefix). It cannot be changed without recompiling DansGuardian. You can determine what prefix was built into your instance of DansGuardian by executing dansguardian -v (the parameter may not appear if it's set to /usr/local).

languagediris where languages are stored for internationalization. This directory is especially important for a couple of reasons:

  1. The HTML template used when reportinglevel is set to 3 resides within this directory by default.
  2. The file of text translations -called messages- used by DansGuardian for internationalization resides in this directory. This same file is also used by the Log Analysis capability of this Webmin DansGuardian Module.

Close Window