]>
Commit | Line | Data |
---|---|---|
86dece47 ER |
1 | LoadModule mime_module modules/mod_mime.so |
2 | ||
3 | <IfModule mime_module> | |
408714fc ER |
4 | # |
5 | # TypesConfig points to the file containing the list of mappings from | |
6 | # filename extension to MIME-type. | |
7 | # | |
86dece47 ER |
8 | TypesConfig /etc/mime.types |
9 | ||
408714fc ER |
10 | # |
11 | # AddType allows you to add to or override the MIME configuration | |
12 | # file specified in TypesConfig for specific file types. | |
13 | # | |
14 | #AddType application/x-gzip .tgz | |
15 | # | |
16 | # AddEncoding allows you to have certain browsers uncompress | |
17 | # information on the fly. Note: Not all browsers support this. | |
18 | # | |
19 | #AddEncoding x-compress .Z | |
20 | #AddEncoding x-gzip .gz .tgz | |
21 | # | |
22 | # If the AddEncoding directives above are commented-out, then you | |
23 | # probably should define those extensions to indicate media types: | |
24 | # | |
25 | AddType application/x-compress .Z | |
26 | AddType application/x-gzip .gz .tgz | |
86dece47 | 27 | |
408714fc ER |
28 | # |
29 | # AddHandler allows you to map certain file extensions to "handlers": | |
30 | # actions unrelated to filetype. These can be either built into the server | |
31 | # or added with the Action directive (see below) | |
32 | # | |
33 | # To use CGI scripts outside of ScriptAliased directories: | |
34 | # (You will also need to add "ExecCGI" to the "Options" directive.) | |
35 | # | |
36 | #AddHandler cgi-script .cgi | |
86dece47 | 37 | |
408714fc ER |
38 | # For files that include their own HTTP headers: |
39 | #AddHandler send-as-is asis | |
86dece47 | 40 | |
408714fc ER |
41 | # For server-parsed imagemap files: |
42 | #AddHandler imap-file map | |
86dece47 | 43 | |
408714fc ER |
44 | # For type maps (negotiated resources): |
45 | #AddHandler type-map var | |
86dece47 | 46 | |
408714fc ER |
47 | # |
48 | # Filters allow you to process content before it is sent to the client. | |
49 | # | |
50 | # To parse .shtml files for server-side includes (SSI): | |
51 | # (You will also need to add "Includes" to the "Options" directive.) | |
52 | # | |
53 | #AddType text/html .shtml | |
54 | #AddOutputFilter INCLUDES .shtml | |
86dece47 | 55 | </IfModule> |