Apache 24 authz_core error and solution

Web

Error.log

1
2
3
# /var/log/apache2/error.log
[Sat Aug 18 09:15:32.666938 2012] [authz_core:error] [pid 6587]
[client 127.0.0.1:38873] AH01630: client denied by server configuration: /var/www/

Solution

Since apache 2.4 or above your should set as below

1
2
3
4
5
<Directory /var/www>
# ...
Require all granted
# ...
</Directory>

Reference

http://httpd.apache.org/docs/2.4/upgrading.html#run-time