436d9fbf |
1 | <IfModule mod_mime.c> |
2 | |
3 | # |
4 | # TypesConfig points to the file containing the list of mappings from |
5 | # filename extension to MIME-type. |
6 | # |
7 | TypesConfig /etc/mime.types |
8 | |
9 | # |
10 | # AddType allows you to add to or override the MIME configuration |
11 | # file mime.types for specific file types. |
12 | # |
13 | #AddType application/x-gzip .tgz |
14 | # |
15 | # AddEncoding allows you to have certain browsers uncompress |
16 | # information on the fly. Note: Not all browsers support this. |
17 | # Despite the name similarity, the following Add* directives have |
18 | # nothing to do with the FancyIndexing customization directives above. |
19 | # |
20 | #AddEncoding x-compress .Z |
21 | #AddEncoding x-gzip .gz .tgz |
22 | #AddEncoding x-bzip2 .bz2 |
23 | # |
24 | # If the AddEncoding directives above are commented-out, then you |
25 | # probably should define those extensions to indicate media types: |
26 | # |
27 | AddType application/x-compress .Z |
28 | AddType application/x-gzip .gz .tgz |
29 | AddType application/x-bzip2 .bz2 |
30 | |
31 | # |
32 | # DefaultLanguage and AddLanguage allows you to specify the language of |
33 | # a document. You can then use content negotiation to give a browser a |
34 | # file in a language the user can understand. |
35 | # |
36 | # Specify a default language. This means that all data |
37 | # going out without a specific language tag (see below) will |
38 | # be marked with this one. You probably do NOT want to set |
39 | # this unless you are sure it is correct for all cases. |
40 | # |
41 | # * It is generally better to not mark a page as |
42 | # * being a certain language than marking it with the wrong |
43 | # * language! |
44 | # |
45 | # DefaultLanguage nl |
46 | # |
47 | # Note 1: The suffix does not have to be the same as the language |
48 | # keyword --- those with documents in Polish (whose net-standard |
49 | # language code is pl) may wish to use "AddLanguage pl .po" to |
50 | # avoid the ambiguity with the common suffix for perl scripts. |
51 | # |
52 | # Note 2: The example entries below illustrate that in some cases |
53 | # the two character 'Language' abbreviation is not identical to |
54 | # the two character 'Country' code for its country, |
55 | # E.g. 'Danmark/dk' versus 'Danish/da'. |
56 | # |
57 | # Note 3: In the case of 'ltz' we violate the RFC by using a three char |
58 | # specifier. There is 'work in progress' to fix this and get |
59 | # the reference data for rfc1766 cleaned up. |
60 | # |
61 | # Catalan (ca) - Croatian (hr) - Czech (cs) - Danish (da) - Dutch (nl) |
62 | # English (en) - Esperanto (eo) - Estonian (et) - French (fr) - German (de) |
63 | # Greek-Modern (el) - Hebrew (he) - Italian (it) - Japanese (ja) |
64 | # Korean (ko) - Luxembourgeois* (ltz) - Norwegian Nynorsk (nn) |
65 | # Norwegian (no) - Polish (pl) - Portugese (pt) |
66 | # Brazilian Portuguese (pt-BR) - Russian (ru) - Swedish (sv) |
67 | # Simplified Chinese (zh-CN) - Spanish (es) - Traditional Chinese (zh-TW) |
68 | # |
69 | AddLanguage am .amh |
70 | AddLanguage ar .ara |
71 | AddLanguage be .be |
72 | AddLanguage bg .bg |
73 | AddLanguage bn .bn |
74 | AddLanguage br .br |
75 | AddLanguage bs .bs |
76 | AddLanguage ca .ca |
77 | AddLanguage cs .cz .cs |
78 | AddLanguage cy .cy |
79 | AddLanguage da .dk |
80 | AddLanguage de .de |
81 | AddLanguage dz .dz |
82 | AddLanguage el .el |
83 | AddLanguage en .en |
84 | AddLanguage eo .eo |
85 | # es is ecmascript in /etc/mime.types |
86 | RemoveType es |
87 | AddLanguage es .es |
88 | AddLanguage et .et |
89 | AddLanguage eu .eu |
90 | AddLanguage fa .fa |
91 | AddLanguage fi .fi |
92 | AddLanguage fr .fr |
93 | AddLanguage ga .ga |
94 | AddLanguage gl .glg |
95 | AddLanguage gu .gu |
96 | AddLanguage he .he |
97 | AddLanguage hi .hi |
98 | AddLanguage hr .hr |
99 | AddLanguage hu .hu |
100 | AddLanguage hy .hy |
101 | AddLanguage id .id |
102 | AddLanguage is .is |
103 | AddLanguage it .it |
104 | AddLanguage ja .ja |
105 | AddLanguage ka .ka |
106 | AddLanguage kk .kk |
107 | AddLanguage km .km |
108 | AddLanguage kn .kn |
109 | AddLanguage ko .ko |
110 | AddLanguage ku .ku |
111 | AddLanguage lo .lo |
112 | AddLanguage lt .lt |
113 | AddLanguage ltz .ltz |
114 | AddLanguage lv .lv |
115 | AddLanguage mg .mg |
116 | AddLanguage mk .mk |
117 | AddLanguage ml .ml |
118 | AddLanguage mr .mr |
119 | AddLanguage ms .msa |
120 | AddLanguage nb .nob |
121 | AddLanguage ne .ne |
122 | AddLanguage nl .nl |
123 | AddLanguage nn .nn |
124 | AddLanguage no .no |
125 | AddLanguage pa .pa |
126 | AddLanguage pl .po |
127 | AddLanguage pt-BR .pt-br |
128 | AddLanguage pt .pt |
129 | AddLanguage ro .ro |
130 | AddLanguage ru .ru |
131 | AddLanguage sa .sa |
132 | AddLanguage se .se |
133 | AddLanguage si .si |
134 | AddLanguage sk .sk |
135 | AddLanguage sl .sl |
136 | AddLanguage sq .sq |
137 | AddLanguage sr .sr |
138 | AddLanguage sv .sv |
139 | AddLanguage ta .ta |
140 | AddLanguage te .te |
141 | AddLanguage th .th |
142 | AddLanguage tl .tl |
143 | RemoveType tr |
144 | # tr is troff in /etc/mime.types |
145 | AddLanguage tr .tr |
146 | AddLanguage uk .uk |
147 | AddLanguage ur .ur |
148 | AddLanguage vi .vi |
149 | AddLanguage wo .wo |
150 | AddLanguage xh .xh |
151 | AddLanguage zh-CN .zh-cn |
152 | AddLanguage zh-TW .zh-tw |
153 | |
154 | # |
155 | # Commonly used filename extensions to character sets. You probably |
156 | # want to avoid clashes with the language extensions, unless you |
157 | # are good at carefully testing your setup after each change. |
158 | # See http://www.iana.org/assignments/character-sets for the |
159 | # official list of charset names and their respective RFCs. |
160 | # |
161 | AddCharset us-ascii .ascii .us-ascii |
162 | AddCharset ISO-8859-1 .iso8859-1 .latin1 |
163 | AddCharset ISO-8859-2 .iso8859-2 .latin2 .cen |
164 | AddCharset ISO-8859-3 .iso8859-3 .latin3 |
165 | AddCharset ISO-8859-4 .iso8859-4 .latin4 |
166 | AddCharset ISO-8859-5 .iso8859-5 .cyr .iso-ru |
167 | AddCharset ISO-8859-6 .iso8859-6 .arb .arabic |
168 | AddCharset ISO-8859-7 .iso8859-7 .grk .greek |
169 | AddCharset ISO-8859-8 .iso8859-8 .heb .hebrew |
170 | AddCharset ISO-8859-9 .iso8859-9 .latin5 .trk |
171 | AddCharset ISO-8859-10 .iso8859-10 .latin6 |
172 | AddCharset ISO-8859-13 .iso8859-13 |
173 | AddCharset ISO-8859-14 .iso8859-14 .latin8 |
174 | AddCharset ISO-8859-15 .iso8859-15 .latin9 |
175 | AddCharset ISO-8859-16 .iso8859-16 .latin10 |
176 | AddCharset ISO-2022-JP .iso2022-jp .jis |
177 | AddCharset ISO-2022-KR .iso2022-kr .kis |
178 | AddCharset ISO-2022-CN .iso2022-cn .cis |
179 | AddCharset Big5 .Big5 .big5 .b5 |
180 | AddCharset cn-Big5 .cn-big5 |
181 | # For russian, more than one charset is used (depends on client, mostly): |
182 | AddCharset WINDOWS-1251 .cp-1251 .win-1251 |
183 | AddCharset CP866 .cp866 |
184 | AddCharset KOI8 .koi8 |
185 | AddCharset KOI8-E .koi8-e |
186 | AddCharset KOI8-r .koi8-r .koi8-ru |
187 | AddCharset KOI8-U .koi8-u |
188 | AddCharset KOI8-ru .koi8-uk .ua |
189 | AddCharset ISO-10646-UCS-2 .ucs2 |
190 | AddCharset ISO-10646-UCS-4 .ucs4 |
191 | AddCharset UTF-7 .utf7 |
192 | AddCharset UTF-8 .utf8 |
193 | AddCharset UTF-16 .utf16 |
194 | AddCharset UTF-16BE .utf16be |
195 | AddCharset UTF-16LE .utf16le |
196 | AddCharset UTF-32 .utf32 |
197 | AddCharset UTF-32BE .utf32be |
198 | AddCharset UTF-32LE .utf32le |
199 | AddCharset euc-cn .euc-cn |
200 | AddCharset euc-gb .euc-gb |
201 | AddCharset euc-jp .euc-jp |
202 | AddCharset euc-kr .euc-kr |
203 | #Not sure how euc-tw got in - IANA doesn't list it??? |
204 | AddCharset EUC-TW .euc-tw |
205 | AddCharset gb2312 .gb2312 .gb |
206 | AddCharset iso-10646-ucs-2 .ucs-2 .iso-10646-ucs-2 |
207 | AddCharset iso-10646-ucs-4 .ucs-4 .iso-10646-ucs-4 |
208 | AddCharset shift_jis .shift_jis .sjis |
209 | AddCharset BRF .brf |
210 | |
211 | # |
212 | # AddHandler allows you to map certain file extensions to "handlers": |
213 | # actions unrelated to filetype. These can be either built into the server |
214 | # or added with the Action directive (see below) |
215 | # |
216 | # To use CGI scripts outside of ScriptAliased directories: |
217 | # (You will also need to add "ExecCGI" to the "Options" directive.) |
218 | # |
219 | #AddHandler cgi-script .cgi |
220 | |
221 | # |
222 | # For files that include their own HTTP headers: |
223 | # |
224 | #AddHandler send-as-is asis |
225 | |
226 | # |
227 | # For server-parsed imagemap files: |
228 | # |
229 | #AddHandler imap-file map |
230 | |
231 | # |
232 | # For type maps (negotiated resources): |
233 | # (This is enabled by default to allow the Apache "It Worked" page |
234 | # to be distributed in multiple languages.) |
235 | # |
236 | AddHandler type-map var |
237 | |
238 | # |
239 | # Filters allow you to process content before it is sent to the client. |
240 | # |
241 | # To parse .shtml files for server-side includes (SSI): |
242 | # (You will also need to add "Includes" to the "Options" directive.) |
243 | # |
244 | AddType text/html .shtml |
09c20003 |
245 | <IfModule mod_include.c> |
436d9fbf |
246 | AddOutputFilter INCLUDES .shtml |
09c20003 |
247 | </IfModule> |
436d9fbf |
248 | |
249 | </IfModule> |
250 | |
251 | # vim: syntax=apache ts=4 sw=4 sts=4 sr noet |