Apache Error log shows the message “Client denied by server configuration” and the user sees “Forbidden Access” when they try to visit a web page.

Solution:

Search for the apache configuration file (httpd.conf or vhosts.conf if you have configured a virtual host). Check for the directory permission set for the document root of the web site in question and do the following changes.

<Directory /path/to/web/root >
Options IndexesFollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>

Change this to

<Directory /path/to/web/root >
Options IndexesFollowSymLinks
AllowOverride None
Order allow, deny
Allow from all
</Directory>

Restart apache web server to ensure that the effect of the settings take place.