Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: How to customize the output of webalizer  (Read 13053 times)

0 Members and 1 Guest are viewing this topic.

lathu_official

  • Guest
How to customize the output of webalizer
« on: February 01, 2014, 06:06:46 am »
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

------------------------
Thanks