]> granicus.if.org Git - apache/commitdiff
Improve the error message, include the full path of the file we are actually trying...
authorPaul Querna <pquerna@apache.org>
Fri, 29 Dec 2006 05:27:49 +0000 (05:27 +0000)
committerPaul Querna <pquerna@apache.org>
Fri, 29 Dec 2006 05:27:49 +0000 (05:27 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@490920 13f79535-47bb-0310-9956-ffa450edef68

server/request.c

index 4948736fa48222e63304995faad64a8af69bc2fc..03493e32d38ba90a8c76c1d4848fba9a415d7350 100644 (file)
@@ -566,7 +566,8 @@ AP_DECLARE(int) ap_directory_walk(request_rec *r)
                      * here.
                      */
                     ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r,
-                                  "access to %s failed", r->uri);
+                                  "access to %s failed; stat of '%s' failed.",
+                                  r->uri, r->filename);
                     return r->status = HTTP_FORBIDDEN;
                 }
                 if (thisinfo.filetype == APR_LNK) {