Skip to content
Commit c6b4ff29 authored by Bill Stoddard's avatar Bill Stoddard
Browse files

Modified mod_mime and mod_negotiation to prevent mod_negotiation

from serving any multiview variant containing one or more
'unknown' filename extensions. In PR #8130, mod_negotiation was
incorrectly serving index.html.zh.Big5 when better variants were
available. The httpd.conf file on the failing server did not have
an AddLanguage directive for .zh, which caused mod_mime to loose
the file_type information it gleened from parsing the .html
extension. The absence of any language preferences, either in
the browser or configured on the server, caused mod_negotiation
to consider all the variants equivalent. When that occurs,
mod_negotiation picks the 'smallest' variant available, which
just happened to be  index.html.zh.Big5.
[Bill Stoddard, Bill Rowe] PR #8130

PR: 8130


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@91243 13f79535-47bb-0310-9956-ffa450edef68
parent 2e6b1c41
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment