• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

AWStats is showing wrong domain

Hi all,

I'm a really new plesk user and I have to say that I'm quite annoyed about those kind of bugs that should've been found in beta testing.

And my boss who payed for this software also is not amused about me having to crawl through the support forums all the time because of bugs that should've been fixed by official update some time ago.

BTW: Instead of fixing Debians awstats I modified /etc/cron.daily/50plesk-daily and added the line

#!/bin/sh
export AWSTATS_ENABLE_CONFIG_DIR=1
...

This was described in a different forum.

Balu
 
I finally added
Code:
$ENV{"AWSTATS_ENABLE_CONFIG_DIR"} = 1;
at the top of awstats.pl ,
just below
Code:
use vars qw/ $REVISION $VERSION /;
$REVISION='$Revision: 1.887 $'; $REVISION =~ /\s(.*)\s/; $REVISION=$1;
$VERSION="6.6 (build $REVISION)";
And it worked for me ;)
 
Back
Top