]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Adjust log message: Condition can be caused by configuration error
authorStefan Fritsch <sf@apache.org>
Sat, 16 Jun 2012 22:42:15 +0000 (22:42 +0000)
committerStefan Fritsch <sf@apache.org>
Sat, 16 Jun 2012 22:42:15 +0000 (22:42 +0000)
not only by bugs

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

server/request.c

index c2fdd89ea49be6e29b8be17a9a387ab944c8de5a..f285294f5cab94d300ec9c5fba68000745388d90 100644 (file)
@@ -236,7 +236,9 @@ AP_DECLARE(int) ap_process_request_internal(request_rec *r)
                 if (r->user == NULL) {
                     /* don't let buggy authn module crash us in authz */
                     ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(00027)
-                                  "Buggy authn provider failed to set user for %s",
+                                  "No authentication done but request not "
+                                  "allowed without authentication for %s. "
+                                  "Authentication not configured?",
                                   r->uri);
                     access_status = HTTP_INTERNAL_SERVER_ERROR;
                     return decl_die(access_status, "check user", r);
@@ -271,7 +273,9 @@ AP_DECLARE(int) ap_process_request_internal(request_rec *r)
                 if (r->user == NULL) {
                     /* don't let buggy authn module crash us in authz */
                     ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(00028)
-                                  "Buggy authn provider failed to set user for %s",
+                                  "No authentication done but request not "
+                                  "allowed without authentication for %s. "
+                                  "Authentication not configured?",
                                   r->uri);
                     access_status = HTTP_INTERNAL_SERVER_ERROR;
                     return decl_die(access_status, "check user", r);