If you're getting the "403 forbidden error" while accessing your website. This issue is generally due to permissions.
Step 1:
[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:
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.
- # chmod 755 /home/user_name
No comments:
Post a Comment