summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2001-08-07 00:51:22 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2001-08-07 00:51:22 +0000
commit56cee9cd08b409ca9bfe04527032b140a4af5cea (patch)
tree3c19c1fea5e2934451d8a8d3330fb261b957acd5
parent98d54113f3523e2bd75c5f47a08d3aed14359a04 (diff)
downloadhttpd-56cee9cd08b409ca9bfe04527032b140a4af5cea.tar.gz
A debatable change, to return (an absolute) 404 if some of the extentions
of every matching file isn't decodable by mod_mime, instead of 500. Adopted 404 as the result, per Roy Fielding. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89975 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--modules/mappers/mod_negotiation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mappers/mod_negotiation.c b/modules/mappers/mod_negotiation.c
index 23081b8a16..02d4fb161e 100644
--- a/modules/mappers/mod_negotiation.c
+++ b/modules/mappers/mod_negotiation.c
@@ -1076,7 +1076,7 @@ static int read_types_multi(negotiation_state *neg)
"Negotiation: discovered file(s) matching request: %s"
" (None could be negotiated).",
r->filename);
- return HTTP_INTERNAL_SERVER_ERROR;
+ return HTTP_NOT_FOUND;
}
set_vlist_validator(r, r);