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

Category:

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 :

Forbidden

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 set_permissions.sh allow us to set permission to specific user. You can get it from here -> http://files.directadmin.com/services/all/set_permissions.sh Use it by type :

./set_permisions.sh set_user_home username

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

Source : http://www.directadmin.com/forum/showthread.php?t=39278

Comments

Thanks for sharing this valuable Information From this post i have got answers for my question.So this informational post which helps me to increase my knowledge.This is really interesting and make me to read many times. I have bookmarked this page for future reference.Here is awesome source for those students who wants to free some time for more important things, and not sit and write essays all the time – https://essaysthatwins.com/

This is so nice. Totally loved it. I love reading blogs. I am in reality happy with article quality and direction. Thank you so much for caring about your content and your readers.

https://www.packers5th.in/packers-and-movers-gurgaon.html

Add new comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.