Skip to main content

pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/r7gj33wz6sni/public_html/' is executable

Comments

4 comments

  • andrew.n
    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
  • cPRex Jurassic Moderator
    ^^^^what @andrew.n said. Those types of errors are almost always a permissions or ownership problem somewhere in the file path.
    0
  • Khaled A.
    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
  • cPRex Jurassic Moderator
    @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.