]>
Commit | Line | Data |
---|---|---|
c6d435c1 | 1 | # $Id$ |
0a771c6c | 2 | LoadModule mime_module modules/mod_mime.so |
c6d435c1 ER |
3 | |
4 | <IfModule mod_mime.c> | |
5 | # | |
6 | # TypesConfig describes where the mime.types file (or equivalent) is | |
7 | # to be found. /etc/mime.types is provided by mailcap package. | |
8 | # | |
9 | TypesConfig /etc/mime.types | |
10 | ||
11 | # | |
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. | |
16 | # | |
17 | AddEncoding x-compress Z | |
18 | AddEncoding x-gzip gz | |
19 | # | |
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 | |
22 | # it can understand. | |
23 | # | |
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. | |
28 | # | |
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'. | |
33 | # | |
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. | |
37 | # | |
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) | |
44 | # Russian (ru) | |
45 | # | |
46 | AddLanguage ca .ca | |
47 | AddLanguage cz .cz | |
48 | AddLanguage da .dk | |
49 | AddLanguage de .de | |
50 | AddLanguage en .en | |
51 | AddLanguage el .el | |
52 | AddLanguage es .es | |
53 | AddLanguage et .ee | |
54 | AddLanguage fr .fr | |
55 | AddLanguage he .he | |
56 | AddLanguage it .it | |
57 | AddLanguage ja .ja | |
58 | AddLanguage kr .kr | |
59 | AddLanguage ltz .lu | |
60 | AddLanguage nl .nl | |
61 | AddLanguage nn .nn | |
62 | AddLanguage no .no | |
63 | AddLanguage pl .po | |
64 | AddLanguage pt .pt | |
65 | AddLanguage pt-br .pt-br | |
66 | AddLanguage ru .ru | |
67 | AddLanguage sv .sv | |
68 | AddLanguage tw .tw | |
69 | AddLanguage zh-tw .tw | |
70 | ||
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 | |
83 | ||
84 | # | |
85 | # AddType allows you to tweak mime.types without actually editing it, or to | |
86 | # make certain files to be certain types. | |
87 | # | |
88 | # For example, the PHP 3.x module (not part of the Apache distribution - see | |
89 | # http://www.php.net) will typically use: | |
90 | # | |
91 | #AddType application/x-httpd-php3 .php3 | |
92 | #AddType application/x-httpd-php3-source .phps | |
93 | # | |
94 | # And for PHP 4.x, use: | |
95 | # | |
96 | #AddType application/x-httpd-php .php | |
97 | #AddType application/x-httpd-php-source .phps | |
98 | # | |
99 | #AddType application/x-tar .tgz | |
100 | ||
101 | ||
102 | # | |
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) | |
106 | # | |
107 | # If you want to use server side includes, or CGI outside | |
108 | # ScriptAliased directories, uncomment the following lines. | |
109 | # | |
110 | # To use CGI scripts: | |
111 | # | |
112 | AddHandler cgi-script .cgi | |
113 | ||
114 | # | |
115 | # To use server-parsed HTML files | |
116 | # | |
117 | AddType text/html .shtml | |
118 | AddHandler server-parsed .shtml | |
119 | ||
120 | # | |
121 | # Uncomment the following line to enable Apache's send-asis HTTP file | |
122 | # feature | |
123 | # | |
124 | AddHandler send-as-is asis | |
125 | ||
126 | # | |
127 | # If you wish to use server-parsed imagemap files, use | |
128 | # | |
129 | AddHandler imap-file map | |
130 | ||
131 | # | |
132 | # To enable type maps, you might want to use | |
133 | # | |
134 | AddHandler type-map var | |
135 | ||
136 | </IfModule> |