It seems 5.2 (and earlier I think) did not log "file not found" stuff in
the error log. Here's a patch:
*** http_core.c-orig Thu Jul 6 19:46:33 1995
--- http_core.c Thu Jul 6 19:48:19 1995
***************
*** 638,644 ****
/* Generic case... */
if (r->method_number != M_GET) return DECLINED;
! if (r->finfo.st_mode == 0) return NOT_FOUND;
if ((errstatus = set_content_length (r, r->finfo.st_size))
|| (errstatus = set_last_modified (r, r->finfo.st_mtime)))
--- 638,647 ----
/* Generic case... */
if (r->method_number != M_GET) return DECLINED;
! if (r->finfo.st_mode == 0) {
! log_reason("File does not exist", r->filename, r);
! return NOT_FOUND;
! }
if ((errstatus = set_content_length (r, r->finfo.st_size))
|| (errstatus = set_last_modified (r, r->finfo.st_mtime)))
the error log. Here's a patch:
*** http_core.c-orig Thu Jul 6 19:46:33 1995
--- http_core.c Thu Jul 6 19:48:19 1995
***************
*** 638,644 ****
/* Generic case... */
if (r->method_number != M_GET) return DECLINED;
! if (r->finfo.st_mode == 0) return NOT_FOUND;
if ((errstatus = set_content_length (r, r->finfo.st_size))
|| (errstatus = set_last_modified (r, r->finfo.st_mtime)))
--- 638,647 ----
/* Generic case... */
if (r->method_number != M_GET) return DECLINED;
! if (r->finfo.st_mode == 0) {
! log_reason("File does not exist", r->filename, r);
! return NOT_FOUND;
! }
if ((errstatus = set_content_length (r, r->finfo.st_size))
|| (errstatus = set_last_modified (r, r->finfo.st_mtime)))