taikuninc Posted February 28, 2011 Share Posted February 28, 2011 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? 0 Quote Link to comment Share on other sites More sharing options...
ckh Posted February 28, 2011 Share Posted February 28, 2011 Sounds like a mod_security error, check your mod security log for the rule and disable it. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted February 28, 2011 WHMCS Support Manager Share Posted February 28, 2011 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. 0 Quote Link to comment Share on other sites More sharing options...
Lawrence Posted February 28, 2011 Share Posted February 28, 2011 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. 0 Quote Link to comment Share on other sites More sharing options...
ckh Posted February 28, 2011 Share Posted February 28, 2011 I've received 403 errors generated by mod_security. If you go to: http://www.modsecurity.org/documentation/support-request-checklist.html you'll see some examples there which include 403 errors generated by mod_security. 0 Quote Link to comment Share on other sites More sharing options...
taikuninc Posted February 28, 2011 Author Share Posted February 28, 2011 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? 0 Quote Link to comment Share on other sites More sharing options...
taikuninc Posted February 28, 2011 Author Share Posted February 28, 2011 Could it be an .htaccess problem? 0 Quote Link to comment Share on other sites More sharing options...
ckh Posted March 1, 2011 Share Posted March 1, 2011 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? 0 Quote Link to comment Share on other sites More sharing options...
taikuninc Posted March 1, 2011 Author Share Posted March 1, 2011 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... 0 Quote Link to comment Share on other sites More sharing options...
ckh Posted March 1, 2011 Share Posted March 1, 2011 Ask your host to check them if you don't have root access to the server. Let them know what the problem is and they should be able to help you out. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.