Re: [users@httpd] default mime.types does not contain "gz" - any reason why not?

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

 



On Friday 10 February 2006 12:31, httpd2@xxxxxxxxxxxx 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux