• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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