Code:
tail -f /usr/local/apache/logs/error_logs | grep username
[Tue Nov 09 12:39:34 2010] [error] [client xx.xx.xx.xx] client denied by server configuration: /home/username/public_html/store/images/file.pdf, referer: http://www.domain.com/store/index.php?main_page=page_4
This error means that the access to the directory on server is denied by an Apache configuration. It could be that access is denied due to an explicit deny directive or due to an attempt to access a folder that is outside of the document root.
We can resolve this error by adding following code in apache configuration file OR in .htaccess
Code:
<Directory />
AllowOverride None
Order Deny,Allow
</Directory>