Symptoms
-
Statistics page
http://example.com/plesk-stat/webstat/
orhttps://example.com/plesk-stat/webstat-ssl/
shows the following error:403 Forbidden
You do not have permission to access this document. -
On Linux, the following error can be found in
/var/www/vhosts/example.com/logs/error_log
:(13)Permission denied: /var/www/vhosts/system/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
Cause
Incorrect permissions for domain’s statistics directory.
Resolution
For Linux:
-
Connect to the server via SSH.
-
Repair ownership/permissions for the domain’s directory:
# plesk repair fs example.com
For Windows:
-
Connect to the server via RDP.
-
Repair ownership/permissions for the domain’s directory:
C:> plesk repair fs example.com
Â