Jump to content

403/404 errors since upgrade...


taikuninc

Recommended Posts

When I click on the client area from the admin backend, I get this error...

 

Forbidden

 

You don't have permission to access /whmcs/ on this server.

 

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

 

Any suggestions on how I can fix this?

Link to comment
Share on other sites

In my experience mod_sec usually causes 406 errors. Ensure the permissions are set properly on the files; generally 644 for PHP files, 755 for directories, 777 for templates_c, attachments and downloads.

 

Mod Security generates "406 Not Acceptable" errors by default. The problem is clearly a permissions issue on the "whmcs" folder in this case.

Link to comment
Share on other sites

Mod Security generates "406 Not Acceptable" errors by default. The problem is clearly a permissions issue on the "whmcs" folder in this case.

The folder's permissions say 755 and I thought that was right? Also, shouldn't it take me to clientarea.php when I click on client area and not the whmcs folder?

Link to comment
Share on other sites

Not likely, easiest way to check to see if it's an htaccess file problem is just rename it to something like .htaccess.bak and then try it. If it's the same problem, just rename it back to .htaccess

 

Did you check the mod_security logs?

Link to comment
Share on other sites

Not likely, easiest way to check to see if it's an htaccess file problem is just rename it to something like .htaccess.bak and then try it. If it's the same problem, just rename it back to .htaccess

 

Did you check the mod_security logs?

I have no idea where to find them...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated