DansGuardian has two different methods for reporting access denied to users. (These settings are for presenting an "access denied" page to users. They have no effect on what goes in the log or how.)
In most cases you should use the newer and faster and cleaner
HTML File method.
It doesn't require having a web server or setting up a CGI program,
and it's easier to customise the access denied page.
Set reportinglevel to 3,
allow accessdeniedaddress to be ignored,
and let htmltemplate default to its usual
PREFIX/languagedir/language/template.html
.
Use the older method of pointing accessdeniedaddress at your own installation of a "dansguardian.pl"-like script on your own web server only in unusual special circumstances where you require maximum flexibility.
Although by default all filter groups use the same parameters to report access denied, it's possible for each filter group to have its own settings. For example it's possible to have different filter groups use different htmltemplate files, some including a "bypass" facility and others not. In the usual case where overrides are not needed, just specify the settings once in dansguardian.conf. To provide different settings for different filter groups, specify the settings in the individual dansguardianfN.conf files.
The parameters are:
PREFIX/languagedir/language/template.html
.