User account menu

  • Log in
BXTra.net

Breadcrumb

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

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

By BXTra | 1:28 AM PDT, Wed July 27, 2011
DirectAdmin

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

About text formats
  • No HTML tags allowed.
  • Web page addresses and email addresses turn into links automatically.
  • Lines and paragraphs break automatically.

  • Will the router get the Openvpn as a client option?
    6 years ago
  • cancellation
    6 years 2 months ago
  • Router ASUS RT-N12 D1 tomatoes passwort falsch
    7 years 9 months ago
  • WPS button = 30/30/30 hard reset button
    7 years 9 months ago
  • Save my day!
    8 years 4 months ago
  • How to
    8 years 6 months ago
  • Can i still access my modem (the one with the ISP provided)?
    8 years 6 months ago
  • A saving step!
    8 years 11 months ago
  • Problem with Asus n12e-c1
    9 years ago
  • don't use Hostgator
    9 years 2 months ago

© 2007 - 2023 BXTra.net. All Rights Reserved. 
Certain other content, photos and artwork displayed on BXTra.net are protected by copyright and are the property of their respective owners.

Privacy Policy