(FIX) Permission denied: /path/folder/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

A "critical" error which appeared after I moved a site from one server to another. It seems that some permissions were not waived, and the righteous read si execution of files in the "folder" have been restricted to the group "nobody"(chmod 750In my case).

Fix error "Permission denied: /path/folder/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable".

Method 1.

You connect to the server via SSH and put chmod 755 on the folder in which it is searched .htaccess. In our case:

chmod 755 /path/folder

2 method.

Set chmod 755 using FTP.

.htaccess error

Check Apache error_log track if it appears error.

Founder and editor Stealth Settings, from 2006 to the present. Experience on operating systems Linux (in particular CentOS), Mac OS X, Windows XP> Windows 10 si WordPress (CMS).

Leave a Comment