• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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