This is an old revision of the document!


Table of Contents

awstats

Plugins

Mods

Follow Me Plugin

Fix the reverse DNS host problem.

$filename = '/var/lib/awstats/dnscachelastupdate.' . $SiteDomain . '.txt';
if (open(FILE, $filename)) {
        while(<FILE>)
        {
                chomp;
                @fields = split('\t', $_);
                if (lc($fields[2]) eq $host) { $host = $fields[1]; }
        }
        close FILE;
}
software/awstats.1295573003.txt.gz · Last modified: 2013/09/19 16:43 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0