pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/r7gj33wz6sni/public_html/' is executable
Hi,
We just migrated from one Cpanel server to another. The hosting provider told us use the Cpanel transfer from the new server. We did this and all seemed to go well. The site comes up but we cannot log in as it hangs. There are sever errors in the logs all with the same error:
[Thu Mar 18 18:58:49.343032 2021] [core:crit] [pid 15561] (13)Permission denied: [client 93.174.93.12:56699] AH00529: /home/r7gj33wz6sni/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/r7gj33wz6sni/public_html/' is executable
We have checked the old and new server to verify same settings. We have also verified the files have the same permissions.
Thanks in advance.
-
What are the ownership and permissions on the file? ls -l /home/r7gj33wz6sni/public_html/.htaccess It is possible that either public_html folder or /home/r7gj33wz6sni has incorrect permissions/ownership 0 -
^^^^what @andrew.n said. Those types of errors are almost always a permissions or ownership problem somewhere in the file path. 0 -
Hello, Is there an update on this error please? My public_html is set to 644, I have not done any major changes (except a staging site for another subdomain within the same directory) Could this be the cause? Kindly advise 0 -
@Khaled A. - this isn't a cPanel-side error that is something our team needs to fix, but it is likely related to permissions. public_html itself should not be set to 644 - that directory should be 755, and then the .htaccess file itself should be 644. Can you check and see if that is the case? 0
Please sign in to leave a comment.
Comments
4 comments