You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2009/09/10 19:32:32 UTC
svn commit: r813520 - /httpd/mod_fcgid/trunk/modules/fcgid/mod_fcgid.c
Author: trawick
Date: Thu Sep 10 17:32:32 2009
New Revision: 813520
URL: http://svn.apache.org/viewvc?rev=813520&view=rev
Log:
fix logging of authorization results to indicate the correct phase
Modified:
httpd/mod_fcgid/trunk/modules/fcgid/mod_fcgid.c
Modified: httpd/mod_fcgid/trunk/modules/fcgid/mod_fcgid.c
URL: http://svn.apache.org/viewvc/httpd/mod_fcgid/trunk/modules/fcgid/mod_fcgid.c?rev=813520&r1=813519&r2=813520&view=diff
==============================================================================
--- httpd/mod_fcgid/trunk/modules/fcgid/mod_fcgid.c (original)
+++ httpd/mod_fcgid/trunk/modules/fcgid/mod_fcgid.c Thu Sep 10 17:32:32 2009
@@ -387,7 +387,7 @@
{
/* Pass */
ap_log_rerror(APLOG_MARK, APLOG_DEBUG | APLOG_NOERRNO, 0, r,
- "mod_fcgid: access granted");
+ "mod_fcgid: access granted (authorization)");
/* Modify headers: An Authorizer application's 200 response may include headers
whose names are prefixed with Variable-. */
@@ -399,15 +399,15 @@
/* Print error info first */
if (res != OK)
ap_log_rerror(APLOG_MARK, APLOG_WARNING | APLOG_NOERRNO, 0, r,
- "mod_fcgid: user %s access check failed, respond %d, URI %s",
+ "mod_fcgid: user %s authorization failed, respond %d, URI %s",
r->user, res, r->uri);
else if (r->status != 200)
ap_log_rerror(APLOG_MARK, APLOG_WARNING | APLOG_NOERRNO, 0, r,
- "mod_fcgid: user %s access check failed, status %d, URI %s",
+ "mod_fcgid: user %s authorization failed, status %d, URI %s",
r->user, r->status, r->uri);
else
ap_log_rerror(APLOG_MARK, APLOG_WARNING | APLOG_NOERRNO, 0, r,
- "mod_fcgid: user %s access check failed, redirected is not allowed",
+ "mod_fcgid: user %s authorization failed, redirected is not allowed",
r->user);
/* Handle error */