PageRenderTime 49ms CodeModel.GetById 44ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/apache2/mods-available/mime.conf

http://github.com/brinkman83/bashrc
Config | 193 lines | 183 code | 10 blank | 0 comment | 0 complexity | 324e56ffc681fc38d663ebc1105652c5 MD5 | raw file
  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#
  7TypesConfig /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#
 27AddType application/x-compress .Z
 28AddType application/x-gzip .gz .tgz
 29AddType 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#
 69AddLanguage ca .ca
 70AddLanguage cs .cz .cs
 71AddLanguage da .dk
 72AddLanguage de .de
 73AddLanguage el .el
 74AddLanguage en .en
 75AddLanguage eo .eo
 76# es is ecmascript in /etc/mime.types
 77RemoveType  es
 78AddLanguage es .es
 79AddLanguage et .et
 80AddLanguage fr .fr
 81AddLanguage he .he
 82AddLanguage hr .hr
 83AddLanguage it .it
 84AddLanguage ja .ja
 85AddLanguage ko .ko
 86AddLanguage ltz .ltz
 87AddLanguage nl .nl
 88AddLanguage nn .nn
 89AddLanguage no .no
 90AddLanguage pl .po
 91AddLanguage pt .pt
 92AddLanguage pt-BR .pt-br
 93AddLanguage ru .ru
 94AddLanguage sv .sv
 95# tr is troff in /etc/mime.types
 96RemoveType  tr
 97AddLanguage tr .tr
 98AddLanguage zh-CN .zh-cn
 99AddLanguage zh-TW .zh-tw
100
101#
102# Commonly used filename extensions to character sets. You probably
103# want to avoid clashes with the language extensions, unless you
104# are good at carefully testing your setup after each change.
105# See http://www.iana.org/assignments/character-sets for the
106# official list of charset names and their respective RFCs.
107#
108AddCharset us-ascii    .ascii .us-ascii
109AddCharset ISO-8859-1  .iso8859-1  .latin1
110AddCharset ISO-8859-2  .iso8859-2  .latin2 .cen
111AddCharset ISO-8859-3  .iso8859-3  .latin3
112AddCharset ISO-8859-4  .iso8859-4  .latin4
113AddCharset ISO-8859-5  .iso8859-5  .cyr .iso-ru
114AddCharset ISO-8859-6  .iso8859-6  .arb .arabic
115AddCharset ISO-8859-7  .iso8859-7  .grk .greek
116AddCharset ISO-8859-8  .iso8859-8  .heb .hebrew
117AddCharset ISO-8859-9  .iso8859-9  .latin5 .trk
118AddCharset ISO-8859-10  .iso8859-10  .latin6
119AddCharset ISO-8859-13  .iso8859-13
120AddCharset ISO-8859-14  .iso8859-14  .latin8
121AddCharset ISO-8859-15  .iso8859-15  .latin9
122AddCharset ISO-8859-16  .iso8859-16  .latin10
123AddCharset ISO-2022-JP .iso2022-jp .jis
124AddCharset ISO-2022-KR .iso2022-kr .kis
125AddCharset ISO-2022-CN .iso2022-cn .cis
126AddCharset Big5        .Big5       .big5 .b5
127AddCharset cn-Big5     .cn-big5
128# For russian, more than one charset is used (depends on client, mostly):
129AddCharset WINDOWS-1251 .cp-1251   .win-1251
130AddCharset CP866       .cp866
131AddCharset KOI8      .koi8
132AddCharset KOI8-E      .koi8-e
133AddCharset KOI8-r      .koi8-r .koi8-ru
134AddCharset KOI8-U      .koi8-u
135AddCharset KOI8-ru     .koi8-uk .ua
136AddCharset ISO-10646-UCS-2 .ucs2
137AddCharset ISO-10646-UCS-4 .ucs4
138AddCharset UTF-7       .utf7
139AddCharset UTF-8       .utf8
140AddCharset UTF-16      .utf16
141AddCharset UTF-16BE    .utf16be
142AddCharset UTF-16LE    .utf16le
143AddCharset UTF-32      .utf32
144AddCharset UTF-32BE    .utf32be
145AddCharset UTF-32LE    .utf32le
146AddCharset euc-cn      .euc-cn
147AddCharset euc-gb      .euc-gb
148AddCharset euc-jp      .euc-jp
149AddCharset euc-kr      .euc-kr
150#Not sure how euc-tw got in - IANA doesn't list it???
151AddCharset EUC-TW      .euc-tw
152AddCharset gb2312      .gb2312 .gb
153AddCharset iso-10646-ucs-2 .ucs-2 .iso-10646-ucs-2
154AddCharset iso-10646-ucs-4 .ucs-4 .iso-10646-ucs-4
155AddCharset shift_jis   .shift_jis .sjis
156
157#
158# AddHandler allows you to map certain file extensions to "handlers":
159# actions unrelated to filetype. These can be either built into the server
160# or added with the Action directive (see below)
161#
162# To use CGI scripts outside of ScriptAliased directories:
163# (You will also need to add "ExecCGI" to the "Options" directive.)
164#
165#AddHandler cgi-script .cgi
166
167#
168# For files that include their own HTTP headers:
169#
170#AddHandler send-as-is asis
171
172#
173# For server-parsed imagemap files:
174#
175#AddHandler imap-file map
176
177#
178# For type maps (negotiated resources):
179# (This is enabled by default to allow the Apache "It Worked" page
180#  to be distributed in multiple languages.)
181#
182AddHandler type-map var
183
184#
185# Filters allow you to process content before it is sent to the client.
186#
187# To parse .shtml files for server-side includes (SSI):
188# (You will also need to add "Includes" to the "Options" directive.)
189#
190AddType text/html .shtml
191AddOutputFilter INCLUDES .shtml
192
193</IfModule>