From: Stefan Fritsch Date: Sat, 16 Jun 2012 22:42:15 +0000 (+0000) Subject: Adjust log message: Condition can be caused by configuration error X-Git-Tag: 2.5.0-alpha~6734 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de4242afbbd28e75d20e972c92dc5f3550003ac5;p=thirdparty%2Fapache%2Fhttpd.git 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 --- 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);