Re: For review: Character encodings in HTML and CSS

Gunnar Bittersmann, Tue, 16 Feb 2010 00:20:12 +0100:
> Leif Halvard Silli scripsit (2010-02-16 00:07+01:00):
>> I spotted an error:
> 
> No, not an error.
> 
>>>> "AddType 'text/html; charset=UTF-8' html"
>> 
>> You forgot to add a 'dot' before 'html', like so:
>> 
>> AddType 'text/html; charset=UTF-8' .html
>>
>> See examples here:
>>
>> http://httpd.apache.org/docs/1.3/mod/mod_mime.html#addtype

>> http://httpd.apache.org/docs/2.0/mod/mod_mime.html#addtype

> 
> See also there:
> 
> “The extension argument is case-insensitive, and can be specified 
> with or without a leading dot.”

Ah, did not now. I look at examples - I don't read text. ;-)

But I still suggest that a dot is placed in the example because (1) it 
becomes congruent with the example in the Apache documentation, (2) all 
the Apache config files I have seen does the same, (3) I think it 
becomes easier to readers of the document to quickly grasp that the 
last word in that directive represents a file suffix.
-- 
leif halvard

Received on Monday, 15 February 2010 23:35:19 UTC