While accessing websites you might encounter access denied errors. When ever you have access denied errors the first thing to check is the permission and ownership of the account files and then the apache configuration. But sometimes doing that won’t get the issue resolved.
Below is an example of denial error which is not caused by bad permissions or ownership.
Error: Client denied by server configuration
The above error means that the access to the directory on the server was denied by an Apache configuration.
To troubleshoot this error you need to do the following.
1) Make sure you are not behind any kind of firewall.
2) Find the IP address and see if your IP is logged in the deny files or IPtables.
3) See what the logs says about the error.
tail -f /usr/local/apache/logs/error_log | grep username
[Sun Dec 07 14:04:38 2008] [error] [client 184.108.40.206] client denied by server configuration: /home/username/public_html/index.php
4) Finally you need to check the .htaccess file and see whether any denial codes are mentioned in it.
If have denial codes then uncomment that line as given below.
#Deny from all
You should be able to access the website back as normal.
These guys do a great job. Keep up the good work AIMVM team. www.marghotels.comAisten Correya
When choosing a hosting provider, I’m looking for fast, knowledgeable support and reliable systems. aimvm.com provided it all at a great price. www.tranzmedia.inTranzmedia