2 LoadModule mime_module modules/mod_mime.so
6 # TypesConfig describes where the mime.types file (or equivalent) is
7 # to be found. /etc/mime.types is provided by mailcap package.
9 TypesConfig /etc/mime.types
12 # AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) uncompress
13 # information on the fly. Note: Not all browsers support this.
14 # Despite the name similarity, the following Add* directives have nothing
15 # to do with the FancyIndexing customization directives above.
17 AddEncoding x-compress Z
20 # AddLanguage allows you to specify the language of a document. You can
21 # then use content negotiation to give a browser a file in a language
24 # Note 1: The suffix does not have to be the same as the language
25 # keyword --- those with documents in Polish (whose net-standard
26 # language code is pl) may wish to use "AddLanguage pl .po" to
27 # avoid the ambiguity with the common suffix for perl scripts.
29 # Note 2: The example entries below illustrate that in quite
30 # some cases the two character 'Language' abbriviation is not
31 # identical to the two character 'Country' code for its country,
32 # E.g. 'Danmark/dk' versus 'Danish/da'.
34 # Note 3: In the case of 'ltz' we violate the RFC by using a three char
35 # specifier. But there is 'work in progress' to fix this and get
36 # the reference data for rfc1766 cleaned up.
38 # Danish (da) - Dutch (nl) - English (en) - Estonian (ee)
39 # French (fr) - German (de) - Greek-Modern (el)
40 # Italian (it) - Korean (kr) - Norwegian (no)
41 # Portugese (pt) - Luxembourgeois* (ltz)
42 # Spanish (es) - Swedish (sv) - Catalan (ca) - Czech(cz)
43 # Polish (pl) - Brazilian Portuguese (pt-br) - Japanese (ja)
65 AddLanguage pt-br .pt-br
71 AddCharset Big5 .Big5 .big5
72 AddCharset CP866 .cp866
73 AddCharset ISO-8859-2 .iso-pl
74 AddCharset ISO-8859-5 .iso-ru
75 AddCharset ISO-8859-8 .iso8859-8
76 AddCharset ISO-2022-JP .his
77 AddCharset ISO-2022-KR .iso-kr
78 AddCharset KOI8-R .koi8-r
79 AddCharset UCS-2 .ucs2
80 AddCharset UCS-4 .ucs4
81 AddCharset UTF-8 .utf8
82 AddCharset WINDOWS-1251 .cp-1251
85 # AddType allows you to tweak mime.types without actually editing it, or to
86 # make certain files to be certain types.
88 # For example, the PHP 3.x module (not part of the Apache distribution - see
89 # http://www.php.net) will typically use:
91 #AddType application/x-httpd-php3 .php3
92 #AddType application/x-httpd-php3-source .phps
94 # And for PHP 4.x, use:
96 #AddType application/x-httpd-php .php
97 #AddType application/x-httpd-php-source .phps
99 #AddType application/x-tar .tgz
103 # AddHandler allows you to map certain file extensions to "handlers",
104 # actions unrelated to filetype. These can be either built into the server
105 # or added with the Action command (see below)
107 # If you want to use server side includes, or CGI outside
108 # ScriptAliased directories, uncomment the following lines.
110 # To use CGI scripts:
112 AddHandler cgi-script .cgi
115 # To use server-parsed HTML files
117 AddType text/html .shtml
118 AddHandler server-parsed .shtml
121 # Uncomment the following line to enable Apache's send-asis HTTP file
124 AddHandler send-as-is asis
127 # If you wish to use server-parsed imagemap files, use
129 AddHandler imap-file map
132 # To enable type maps, you might want to use
134 AddHandler type-map var
138 # vim: filetype=apache ts=4 sw=4 et