InMotion Hosting Support Center

403 error - pcfg_openfile: unable to check htaccess file

2012-02-21 5:33 pm EST

Hits: 18,644
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


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

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

<strong>Check error logs when you have a 403 error</strong>

A <a href='' target='_blank'>403 error</a> 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:

<div class='code_block'>[Tue Feb 21 16:42:16 2012] [crit] [client] (13)Permission denied: /home/USER/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable</div>

<strong>Most often, setting folder permissions back to 755 should resolve this issue</strong>

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 <a href='' target='_blank'>setting these folders back to 755</a> 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.

- Brad

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

Like this Question?

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

Need more Help?

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:
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!