Add to Favourites Add to Favourites    Print this Article Print this Article

How to customize the output of webalizer

DirectAdmin uses the default webalizer settings by not specifying a webalizer.conf file at all.  If you want to adjust the settings for webalizer, you can create your own basic webalizer.conf file for DA to use.  This file must be domain independant because this one file will be used for all domains without any modifications to it.

Create:

/usr/local/directadmin/data/templates/custom/webalizer.conf

Add the custom settings you wish to use to that file.

Example webalizer.conf file:

Do reverse IP lookups:

DNSCache /var/cache/|DOMAIN|.dns_cache.db
DNSChildren 10

*Note, using tokens in this file requires DA 1.24.0 or later.

info on tokens
tokenizer/script guide

reported solution for issues getting  country stats to work

Was this answer helpful?

Also Read