]> git.pld-linux.org Git - packages/apache1.git/blame - apache1-mod_mime.conf
rel 15; builds
[packages/apache1.git] / apache1-mod_mime.conf
CommitLineData
c6d435c1 1# $Id$
0a771c6c 2LoadModule 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#
9TypesConfig /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#
17AddEncoding x-compress Z
18AddEncoding 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#
46AddLanguage ca .ca
47AddLanguage cz .cz
48AddLanguage da .dk
49AddLanguage de .de
50AddLanguage en .en
51AddLanguage el .el
52AddLanguage es .es
53AddLanguage et .ee
54AddLanguage fr .fr
55AddLanguage he .he
56AddLanguage it .it
57AddLanguage ja .ja
58AddLanguage kr .kr
59AddLanguage ltz .lu
60AddLanguage nl .nl
61AddLanguage nn .nn
62AddLanguage no .no
63AddLanguage pl .po
64AddLanguage pt .pt
65AddLanguage pt-br .pt-br
66AddLanguage ru .ru
67AddLanguage sv .sv
68AddLanguage tw .tw
69AddLanguage zh-tw .tw
70
71AddCharset Big5 .Big5 .big5
72AddCharset CP866 .cp866
73AddCharset ISO-8859-2 .iso-pl
74AddCharset ISO-8859-5 .iso-ru
75AddCharset ISO-8859-8 .iso8859-8
76AddCharset ISO-2022-JP .his
77AddCharset ISO-2022-KR .iso-kr
78AddCharset KOI8-R .koi8-r
79AddCharset UCS-2 .ucs2
80AddCharset UCS-4 .ucs4
81AddCharset UTF-8 .utf8
82AddCharset 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#
112AddHandler cgi-script .cgi
113
114#
115# To use server-parsed HTML files
116#
117AddType text/html .shtml
118AddHandler server-parsed .shtml
119
120#
121# Uncomment the following line to enable Apache's send-asis HTTP file
122# feature
123#
124AddHandler send-as-is asis
125
126#
127# If you wish to use server-parsed imagemap files, use
128#
129AddHandler imap-file map
130
131#
132# To enable type maps, you might want to use
133#
134AddHandler type-map var
135
136</IfModule>
This page took 0.126259 seconds and 4 git commands to generate.