Return-Path: X-Original-To: apmail-httpd-cvs-archive@www.apache.org Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 51EA79819 for ; Sat, 16 Jun 2012 22:42:39 +0000 (UTC) Received: (qmail 87428 invoked by uid 500); 16 Jun 2012 22:42:39 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 87363 invoked by uid 500); 16 Jun 2012 22:42:38 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 87356 invoked by uid 99); 16 Jun 2012 22:42:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Jun 2012 22:42:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Jun 2012 22:42:36 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id DD9D323889E0; Sat, 16 Jun 2012 22:42:15 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1351015 - /httpd/httpd/trunk/server/request.c Date: Sat, 16 Jun 2012 22:42:15 -0000 To: cvs@httpd.apache.org From: sf@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120616224215.DD9D323889E0@eris.apache.org> Author: sf Date: Sat Jun 16 22:42:15 2012 New Revision: 1351015 URL: http://svn.apache.org/viewvc?rev=1351015&view=rev Log: Adjust log message: Condition can be caused by configuration error not only by bugs Modified: httpd/httpd/trunk/server/request.c Modified: httpd/httpd/trunk/server/request.c URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/request.c?rev=1351015&r1=1351014&r2=1351015&view=diff ============================================================================== --- httpd/httpd/trunk/server/request.c (original) +++ httpd/httpd/trunk/server/request.c Sat Jun 16 22:42:15 2012 @@ -236,7 +236,9 @@ AP_DECLARE(int) ap_process_request_inter 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_inter 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);