[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

the 'smallest variant' apache content negotiation problem is gone



Hi,

I just noticed this in http://www.apache.org/dist/httpd/CHANGES_1.3

[...]

Changes with Apache 1.3.21

[...]

 *) 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

It was about bloody time... :)

-- 
     2. That which causes joy or happiness.



Reply to: