• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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