opensubscriber
   Find in this group all groups
 
Unknown more information…

c : cvs@httpd.apache.org 11 September 2009 • 1:32AM -0400

svn commit: r813520 - /httpd/mod_fcgid/trunk/modules/fcgid/mod_fcgid.c
by trawick

REPLY TO AUTHOR
 
REPLY TO GROUP




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 */


Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

opensubscriber is not affiliated with the authors of this message nor responsible for its content.