Thursday 13 June 2013

Apache – “Client denied by server configuration”

Problem: You will get a 403 in your web-browser while access your site.

The error log (/usr/local/apache/logs/error_log or /etc/httpd/logs/error_log) will shows like this:
“client denied by server configuration: /path/to/files”

Then you probably have denied access to the directory in the httpd.conf file.

Allow access by adding:
<directory /path/to/files>
allow from all
</directory>

If your are using VirtualHosts then add the directory-block inside the <virtualhost> block.

No comments:

Post a Comment