403 error - pcfg_openfile: unable to check htaccess file


cberragan
Asked:
2012-02-21 5:33 pm EST

Hits: 10,553
I was trying to alter my root htaccess file and suddenly all my sites showed up with 403 errors. I've tried many forums, but can't find the solution. What should I do to get my website back??

You must login before you can ask a follow up question.

You must login before you can submit an answer.

Best answer chosen by User

0

BradM
Staff
5,399 Points
2012-02-21 5:57 pm EST
Hi cberragan,


I'm impressed, you've almost got me stumped on this one!


Check error logs when you have a 403 error

A 403 error indicates a forbidden error, generally due to permissions. There is an Error Log icon in your cPanel you can click on to get more data about errors on your site, and the problem you're facing appears to be due to this error:

[Tue Feb 21 16:42:16 2012] [crit] [client 174.77.92.170] (13)Permission denied: /home/USER/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable



Most often, setting folder permissions back to 755 should resolve this issue

I've done a bit of research, and everything points to a permissions related issue and that you should try resetting folder permissions to the default to resolve this. The default permissions for folders should be 755. When reviewing your account, I see several folders with permissions of 744, 750, and 754. 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.


I'm fairly confident that resetting the folder permissions to 755 will resolve the issue. If this does not work, be sure to post a comment on this question (at the bottom of this page), and I'll be more than happy to review further.

Thanks!
- Brad

You must login before you can post a comment about this answer.

Like this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!