On Wed, Dec 27, 2006 at 12:05 +0100, Frank Küster wrote: > Hm, does anybody understand these Apache configuration directives? > According to the comment in /etc/mime.types, "Encoding" is the correct > thing, anyway. Ah, and apache2 in sarge declares gzip with > "AddEncoding", not "AddType".
Which I think is correct. AFAIK AddEncoding tells Apache what it should add to the Content-Encoding header in the HTTP communictaion, while AddType is used to specify the Content-Type header. Content-Encoding can only indicate some sort of compression, and typically the browser should simply do the necessary decompression. Content-Type on the other hand can indicate more complex things (PDF document, video file, ...), and the browser has to choose whether it should handle this file type itself, or call some sort of helper application. cheerio ralf

