AWStats icons don't appear in Plesk 8.1

The AWStats package in RHEL4/Centos4 and Plesk 8.1 uses an alias directory for the icons called /awstats-icon, but when the AWStats contents is generated, the icon directory is different (/icon). To fix this issue, change this file:

/usr/share/awstats/awstats_buildstaticpages.pl

my $DirIcons='/awstats-icon';

Printed from: http://rackerhacker.com/2007/03/18/awstats-icons-dont-appear-in-plesk-81/ .
© Major Hayden 2012.

1 Comment   »

  • kevin says:

    Known bug in plesk, their solution is to edit configs:

    http://kb.swsoft.com/article_49_1743_en.html

    None of the icons are shown up on the AwStats stats pages.
    Article ID : 1743
    Last Review : Mar,15 2007
    RESOLUTION

    This problem fixed in Plesk 8.1.1 Until Plesk 8.1.1 release you can modify AwStats configuration files with:

    sed -i 's,^DirIcons=.*,DirIcons=\"/awstats-icon\",' /etc/awstats/*.conf /usr/local/psa/etc/awstats/*.conf

    After next statistics utility execution by cron the icons will be shown up correctly.

RSS feed for comments on this post

Leave a Reply

 

  • Welcome! I started this blog as a way to give back to all of the other system administrators who have taught me something in the past. Writing these posts brings me a lot of enjoyment and I hope you find the information useful. If you spot something that's incorrect or confusing, please write a comment and let me know. Drop me a line if there's something you want to know more about and I'll do my best to write a post on the topic.
    -- Major Hayden

    Flattr this