]> granicus.if.org Git - apache/commitdiff
PR55069 include line number in 'AH00113: cannot use a full URL in a 401 ErrorDocument'
authorEric Covener <covener@apache.org>
Thu, 6 Jun 2013 21:18:23 +0000 (21:18 +0000)
committerEric Covener <covener@apache.org>
Thu, 6 Jun 2013 21:18:23 +0000 (21:18 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1490446 13f79535-47bb-0310-9956-ffa450edef68

server/core.c

index db75898bee748cc26cbc72f8f4fce1148ce8b15f..799ce6052213a4e17e9eba387b8f83c60211703c 100644 (file)
@@ -1537,8 +1537,8 @@ static const char *set_error_document(cmd_parms *cmd, void *conf_,
 
     if (error_number == 401 && what == REMOTE_PATH) {
         ap_log_error(APLOG_MARK, APLOG_NOTICE, 0, cmd->server, APLOGNO(00113)
-                     "cannot use a full URL in a 401 ErrorDocument "
-                     "directive --- ignoring!");
+                     "%s:%d cannot use a full URL in a 401 ErrorDocument "
+                     "directive --- ignoring!", cmd->directive->filename, cmd->directive->line_num);
     }
     else { /* Store it... */
         if (conf->response_code_strings == NULL) {