Awstats can't follow internal links

  • Anonymous - 2011-05-30

    Upgrade from 6.95 to 7

    When on the awstats page, there are links to get the full listing of domains,
    Ips, etc.

    The generated links are wrong:
    should be (with "awstats." prefix)

  • Anonymous - 2011-06-08

    this is how i was able to fix it:

    --- awstats/tools/ 2011-06-08 14:20:19.000000000 +0200
    +++ awstats/tools/   2011-06-08 14:20:48.000000000 +0200
    @@ -448,7 +448,7 @@ for my $output (@OutputList) {
       my $command="$smallcommand -output=$output";
       print "Build $output page: $command\n";
       $retour=`$command  2>&1`;
    -  $OutputFile=($OutputDir?$OutputDir:"")."awstats.$OutputSuffix.$output.$StaticExt";
    +  $OutputFile=($OutputDir?$OutputDir:"")."$OutputSuffix.$output.$StaticExt";
       open("OUTPUT",">$OutputFile") || error("Couldn't open log file \"$OutputFile\" for writing : $!");
       print OUTPUT $retour;
  • Frances Wand

    Frances Wand - 2011-07-26

    I have the same problem. Did that fix work for you? It still not working for
    me after removing "awstats." in $OutoutFile. Please advise how you resolve
    this. Thank you.

  • Paul Weston

    Paul Weston - 2011-09-06


    Did you find an answer to the problem? I'm struggling with it too, and I'm not
    getting any response to my questions.

    Is it a newly introduced bug?

    Any help greatly appreciated.


  • Stéphane Badertscher

    It could be useful for someone:

    You have to replace line 426 in tools/

    my $smallcommand=""$Awstats" -config=$SiteConfig".($BuildPDF?" -buildpdf":"").($NoLoadPlugin?" -noloadplugin=$NoLoadPlugin":"")." -staticlinks".($OutputSuffix ne $SiteConfig?"=$OutputSuffix":"");


    my $smallcommand=""$Awstats" -config=$SiteConfig".($BuildPDF?" -buildpdf":"").($NoLoadPlugin?" -noloadplugin=$NoLoadPlugin":"")." -staticlinks".($OutputSuffix ne $SiteConfig?"=[b]awstats.[/b]$OutputSuffix":"");

    That's it...


Log in to post a comment.