Domain web statistics is not shown: 403 Forbidden

Created:

2016-11-16 12:45:17 UTC

Modified:

2017-04-24 11:03:32 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Domain web statistics is not shown: 403 Forbidden

Applicable to:

  • Plesk Onyx for Windows
  • Plesk 11.0 for Windows
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Windows
  • Plesk 12.0 for Windows
  • Plesk 12.0 for Linux
  • Plesk 12.5 for Windows

Symptoms

Statistics is not protected by password (option "password-protected directory" is unchecked in domain's hosting settings). But statistics page http://example.com/plesk-stat/webstat/ shows the following error:

403 Forbidden
You do not have permission to access this document.

Cause

Incorrect permissions for domain's statistics directory.

Resolution

Linux:

  1. Set correct permissions to /var/www/vhosts/example.com/statistics directory :

    # chmod 755 /var/www/vhosts/example.com/statistics
  2. Recalculate statistics with the help of KB article #213901965 .

Windows:

  1. Restore domain permissions:

    "%plesk_bin%\reconfigurator.exe" /check-permissions=example.com

    or

    "%plesk_cli%\repair.exe" --repair-webspace-security -webspace-name example.com
  2. Recalculate statistics with the help of KB article #213391349 .

  3. If it did not help, refer to the KB article #213370629 .

Have more questions? Submit a request
Please sign in to leave a comment.