From 91efc4feb90e63008e32d26a3a06c9589f792a67 Mon Sep 17 00:00:00 2001 From: Stefan Fritsch Date: Sat, 16 Jun 2012 22:42:15 +0000 Subject: [PATCH] Adjust log message: Condition can be caused by configuration error 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 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/server/request.c b/server/request.c index c2fdd89ea49..f285294f5ca 100644 --- a/server/request.c +++ b/server/request.c @@ -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); -- 2.47.3