]> granicus.if.org Git - apache/commitdiff
Log a hint about the directory needing to be executable
authorEric Covener <covener@apache.org>
Mon, 14 Feb 2011 20:49:56 +0000 (20:49 +0000)
committerEric Covener <covener@apache.org>
Mon, 14 Feb 2011 20:49:56 +0000 (20:49 +0000)
when we hit EACCESS searching for htaccess files.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1070660 13f79535-47bb-0310-9956-ffa450edef68

server/config.c

index dc776a2653e884bbc040442ac28d0a94480e1f07..5f97c10b4f7229aa38434db583cebd89d0075e76 100644 (file)
@@ -2034,8 +2034,9 @@ AP_CORE_DECLARE(int) ap_parse_htaccess(ap_conf_vector_t **result,
                 && !APR_STATUS_IS_ENOTDIR(status)) {
                 ap_log_rerror(APLOG_MARK, APLOG_CRIT, status, r,
                               "%s pcfg_openfile: unable to check htaccess file, "
-                              "ensure it is readable",
-                              filename);
+                              "ensure it is readable and that '%d' " 
+                              "is executable",
+                              filename, d);
                 apr_table_setn(r->notes, "error-notes",
                                "Server unable to read htaccess file, denying "
                                "access to be safe");