fielding 96/12/10 21:16:10
Modified: src http_request.c mod_log_config.c
Log:
Prior change from 1.1 to promote the status on an internal redirect
was the wrong fix. The real error was in the default log format in
mod_log_config which was not really CLF.
Submitted by: Rob Hartill
Reviewed by: Ben Laurie, Roy Fielding
Revision Changes Path
1.32 +0 -5 apache/src/http_request.c
Index: http_request.c
===================================================================
RCS file: /export/home/cvs/apache/src/http_request.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -C3 -r1.31 -r1.32
*** http_request.c 1996/12/02 15:48:26 1.31
--- http_request.c 1996/12/11 05:16:08 1.32
***************
*** 1008,1018 ****
{
request_rec *new = internal_internal_redirect(new_uri, r);
process_request_internal (new);
-
- /* Promote the new redirected request result into r for logging.
- * We may need to promote other things, but this one is known.
- */
- r->status = new->status;
}
/* This function is designed for things like actions or CGI scripts, when
--- 1008,1013 ----
1.18 +1 -1 apache/src/mod_log_config.c
Index: mod_log_config.c
===================================================================
RCS file: /export/home/cvs/apache/src/mod_log_config.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -C3 -r1.17 -r1.18
*** mod_log_config.c 1996/12/01 20:29:13 1.17
--- mod_log_config.c 1996/12/11 05:16:08 1.18
***************
*** 155,161 ****
*
* --- rst */
! #define DEFAULT_LOG_FORMAT "%h %l %u %t \"%r\" %s %b"
#include "httpd.h"
#include "http_config.h"
--- 155,161 ----
*
* --- rst */
! #define DEFAULT_LOG_FORMAT "%h %l %u %t \"%r\" %>s %b"
#include "httpd.h"
#include "http_config.h"