httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: [users@httpd] default mime.types does not contain "gz" - any reason why not?
Date Fri, 10 Feb 2006 13:38:29 GMT
On Friday 10 February 2006 12:31, httpd2@karsites.net wrote:
> Users are not really supposed to edit the mime.types file
> directly. I think this is what the AddType directive is for.

Broadly speaking, yes.

> # AddType allows you to add to or override the MIME configuration
> # file mime.types for specific file types.
> AddType application/x-compress .Z
> AddType application/x-gzip .gz .tgz
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php .hml
> AddType application/x-httpd-php .htm
> AddType application/x-httpd-php .html
> AddType application/x-httpd-php .js

All of those would be badly wrong.  Compress and gzip are encodings;
PHP is a handler.  None of them is a type.

-- 
Nick Kew

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message