Article ID: 112884, created on Nov 25, 2011, last review on Nov 10, 2016

  • Applies to:
  • Plesk for Linux/Unix


When you try to access your website, you receive the "403 Forbidden" error. You see the following in the Apache error_log:
pcfg_openfile: unable to check htaccess file, ensure it is readable.


2. If the KB article above does not help, then you will need to understand exactly where the incorrect permissions for the Apache user are set:
su - apache -s /bin/bash

-bash-3.2$ cd /var/www/vhosts/<your domain>/httpdocs/
-bash-3.2$ cd /var/www/vhosts/<your domain>/httpdocs/<folder1>/
-bash: cd: /var/www/vhosts/<folder1>/ Permission denied
Based on the above output, you will need to change the permissions for /var/www/vhosts/<folder1>/ to 755 and investigate it further:
su - apache -s /bin/bash

-bash-3.2$ cd /var/www/vhosts/<your domain>/httpdocs/
-bash-3.2$ cd /var/www/vhosts/<your domain>/httpdocs/<folder1>/<folder2>/
-bash: cd: /var/www/vhosts/<folder1>/<folder2>/ Permission denied
You will then need to change the permissions once again. This operation will be complete when you are able to access the folder you need without encountering any "permission denied" errors.

29d1e90fd304f01e6420fbe60f66f838 a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF