ERROR 500 - Internal Server Error! when selecting Web Site Stats

Discussion in 'General' started by Keith Shepherd, Jun 10, 2020.

  1. Keith Shepherd

    Keith Shepherd New Member

    I'm getting an Error 500 when I try to access my web site stats from ISPConfig. I'm just wondering if the Owner/Group needs to be amended, it's currently web6:client0. I've tried changing the Owner/Group to root:root and ispconfig:ispconfig, but I still get the same Error 500. The stats directory permission is set at 755.
    Help would be much appreciated.
     
  2. nhybgtvfr

    nhybgtvfr Well-Known Member HowtoForge Supporter

    the stats directory should be 755 and the owner:group should be the same as for the rest of the same website.
    the stats folder should also contain .htaccess and .htpasswd_stats, owned by root:root
     
  3. Keith Shepherd

    Keith Shepherd New Member

    Thank you for replying to my question.

    I've checked the stats directory and .htaccess is there but .htpasswd_stats isn't. Can I create .htpasswd_stats and if so, what should the file contents be?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Login to ispconfig, go to the statistics tab of the website, enter a password and click save.
     
  5. Keith Shepherd

    Keith Shepherd New Member

    Thanks for your reply.

    Managed to create the .htpasswd_stats file using htpasswd. Awstats now working OK.

    Thanks for your help.
     
  6. Ralph Trynor

    Ralph Trynor New Member

    I am having the same problem. Could you provide a little info on how you created the file?
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Just enter a password into the password field of the statistics tab of the website in ISPConfig. And be aware, stats get generated nightly and until then, you'll get an error. so you might have to wait up to 24 hours until you can access statistics the first time.
     
    Ralph Trynor likes this.
  8. Ralph Trynor

    Ralph Trynor New Member

    Thank you worked great. Thanks again.
     

Share This Page