DirectAdmin 1.391 : pcfg_openfile: unable to check htaccess file, ensure it is readable

By BXTra |

Today, I got a problem with one of my website. Suddenly, I could access my website using Nginx but all themes were gone. I, then, switched back to Apache. It became worse. I can't access my website at all. The error when access my website using Apache is below :


You don't have permission to access / on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

At first, I thought something is wrong with my configuration but then, I could access DA control panel, Munin, phpmyadmin and any other pages without any problem. Also checked permission but it looks like it's ok. Nothing is wrong. So, I checked error log and found error like below :

[Wed Jul 26 14:53:01 2011] [crit] [client xx.xx.xx.xx] (13)Permission denied: /home/admin/domains/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

Google and found in DirectAdmin. Basically, it's something about permission which I may not know what it is. John is kindly provided an updated allow us to set permission to specific user. You can get it from here -> Use it by type :

./ set_user_home username

where username has to changed to the one you want. John said that will be included in the future version of DirectAdmin.

Source :

Add new comment

  • No HTML tags allowed.
  • Web page addresses and email addresses turn into links automatically.
  • Lines and paragraphs break automatically.
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.