.htaccess pcfg_openfile- unable to check htaccess file, ensure it is readable

categories:

I got this error message in apache error logs :

/some/path/to/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

I was trying to access an image to something like http://www.domain.be/image/picture.jpg

The error message is very misleading because the real issue was just inappropriate rights on the folder “image”. (I did not have anything involving htaccess around there).

I had the folder chmod’ed 644 for some reason.

A “chmod 755 image” fixed the problem..




Thanks for reading this post!


Did you find an issue in this article?

- click on the following Github link
- log into Github with your account
- click on the line number containing the error
- click on the "..." button
- choose "Reference in new issue"
- add a title and your comment
- click "Submit new issue"

Your feedback is much appreciated! πŸ€œπŸΌπŸ€›πŸΌ

You can also drop me a line below!