You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ma...@hyperreal.org on 1998/07/10 08:33:25 UTC
cvs commit: apache-1.3/src/modules/standard mod_auth.c
marc 98/07/09 23:33:25
Modified: src/modules/standard mod_auth.c
Log:
Add a warning if a valid user that enters a proper password fails
to get access to a directory because they aren't in the list of
those allowed access.
Revision Changes Path
1.38 +6 -0 apache-1.3/src/modules/standard/mod_auth.c
Index: mod_auth.c
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_auth.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- mod_auth.c 1998/07/03 22:08:49 1.37
+++ mod_auth.c 1998/07/10 06:33:24 1.38
@@ -292,6 +292,12 @@
if (!(sec->auth_authoritative))
return DECLINED;
+ ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, r->server,
+ "access to %s failed for %s, reason: user %s not allowed access",
+ r->uri,
+ ap_get_remote_host(r->connection, r->per_dir_config, REMOTE_NAME),
+ user);
+
ap_note_basic_auth_failure(r);
return AUTH_REQUIRED;
}