Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

Wednesday, 25 June 2014

[FIX] 403 forbidden error - pcfg_openfile: unable to check htaccess file, ensure it is readable

If you're getting the "403  forbidden error" while accessing your website.  This issue is generally due to permissions.

Step 1:

  • Check error log,

# tailf /usr/local/apache/logs/error_log | grep <Your IP/website name>
 You'll get below error,

 [Wed Jun 25 15:39:08 2014] [crit] [client XX.XX.XX.XX] (13)Permission denied: /home/user_name/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable


Step 2:

  • Most often, setting folder permissions back to 755 should resolve this issue.
The default permissions for folders should be 755. When reviewing your account,I recommend setting these folders back to 755 and then testing again. If you have sub folders within those that are not 755, you'll want to adjust those as well.
  •  # chmod 755 /home/user_name
That's it.



No comments:

Post a Comment