Apache's log file says:
[Thu May 30 14:57:51 2013] [error] [client 127.0.0.1] client denied by server configuration: /path/to/file
How do I find the configuration that causes this?
I would have loved if Apache had said:
[Thu May 30 14:57:51 2013] [error] [client 127.0.0.1] client denied by server configuration: /path/to/file due to /etc/apache/config.file:44: Deny from all
So what I would like to have is a general useful way of determining the config file denying the access and the line number (or the directory that has the missing permission - if the error is caused by file system permissions). I am aware that there may be more files causing the denial, but a solution giving the first one will be accepted, too.