SkipHosts setting not working

  • jeffshead

    jeffshead - 2012-07-06

    I've tried both of the following, but and still show up
    in the statistics even after deleting everything in the data file:

    SkipHosts=" REGEX[^192\.168\.] REGEX[^10\.]"
  • jeffshead

    jeffshead - 2012-07-06

    "...everything in the data file:"

    I meant to say, "...everything in the data directory:"

  • jeffshead

    jeffshead - 2012-07-08

    When I use the following lines in the config file for testing...


    ... I get the following alert:
    No qualified records found in log (0 corrupted, 0 comments, 0 Blank, 2663
    dropped) is in the log so it should show statistics for that host but it
    does not.

    Can anyone tell me what's going on? How can I troubleshoot this?

  • jeffshead

    jeffshead - 2012-08-27

    This issue is caused by changes in Perl 5.14.0 and AWStats not being updated
    for it.

    Here's the fix if you are using Perl 5.14.0 and AWStats 7.0 build 1.971:

    Open '' and go to around line 1356 and change from:

    my @arrayunreg = map {
            if (/\(\?[-\w]*:(.*)\)/) { $1 }
        } @$array;


        my @arrayunreg = map { UnCompileRegex($_) } @$array;

    Go to around line 7811 and change from:

    shift =~ /\(\?[-\w]*:(.*)\)/;


    shift =~ /\(\?[-^\w]*:(.*)\)/;
  • zardeven

    zardeven - 2012-09-04

    hi nice information i read and do its working...
    Toronto airport limo service

  • Dominic Surrao

    Dominic Surrao - 2012-12-03

    This was really helpful. Thank you!

  • Michael

    Michael - 2013-01-21

    I was looking for a solution for a while.
    This is solving my problem. Thank you.

    Familienkirche | Live Stream

  • khansamandar

    khansamandar - 2015-10-06
    Post awaiting moderation.
  • khansamandar

    khansamandar - 2015-10-06
    Post awaiting moderation.

Log in to post a comment.