Domain Web Statistics shows 403 Forbidden error

Refers to:

  • 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

Created:

2016-11-16 12:45:17 UTC

Modified:

2016-12-21 19:08:12 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Domain Web Statistics shows 403 Forbidden error

Symptoms

Statistics is not protected by password (option "password-protected directory" is unchecked in domain's hosting settings).
But statistics for domain http://domain.tld/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/domain.tld/statistics folder:

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

Windows:

  1. Restore domain permissions:

    "%plesk_bin%\\reconfigurator.exe" /check-permissions=domain.tld

    or

    "%plesk_cli%\\repair.exe" --repair-webspace-security -webspace-name domain.tld
  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.