Unable to open a web statistics page: 404 Not Found The requested document was not found on this server

Follow

Comments

2 comments

  • Avatar
    Shawn

    This worked for me: http://kb.sphera.com/en/126566

  • Avatar
    Robin Labadie

    I was able to find the proper directories on my CentOS 7.4 thanks to this guide.

    Wrong dirs:

    #AWSTATS_BIN_D /var/www/cgi-bin/awstats
    #AWSTATS_TOOLS_D /usr/share/awstats

    Good dirs:
    AWSTATS_BIN_D /usr/share/awstats/wwwroot/cgi-bin/
    AWSTATS_TOOLS_D /usr/share/awstats/tools

    Then I had to recalculate stats for the domains: 

    /usr/local/psa/admin/bin/web_statistic_executor --calculate-domain mydomain.tld

    Though, it is not perfect: if the current date seems to work, previous months are not updated; possibly because logs don't go that far in the past.

Please sign in to leave a comment.

Have more questions? Submit a request