Annotation of embedaddon/lighttpd/doc/config/conf.d/mime.conf, revision 1.1.1.1
1.1 misho 1: #######################################################################
2: ##
3: ## MimeType handling
4: ## -------------------
5: ##
6: ## http://www.lighttpd.net/documentation/configuration.html#mimetypes
7: ##
8: ## Use the "Content-Type" extended attribute to obtain mime type if
9: ## possible
10: ##
11: mimetype.use-xattr = "disable"
12:
13: ##
14: ## mimetype mapping
15: ##
16: mimetype.assign = (
17: ".pdf" => "application/pdf",
18: ".sig" => "application/pgp-signature",
19: ".spl" => "application/futuresplash",
20: ".class" => "application/octet-stream",
21: ".ps" => "application/postscript",
22: ".torrent" => "application/x-bittorrent",
23: ".dvi" => "application/x-dvi",
24: ".gz" => "application/x-gzip",
25: ".pac" => "application/x-ns-proxy-autoconfig",
26: ".swf" => "application/x-shockwave-flash",
27: ".tar.gz" => "application/x-tgz",
28: ".tgz" => "application/x-tgz",
29: ".tar" => "application/x-tar",
30: ".zip" => "application/zip",
31: ".mp3" => "audio/mpeg",
32: ".m3u" => "audio/x-mpegurl",
33: ".wma" => "audio/x-ms-wma",
34: ".wax" => "audio/x-ms-wax",
35: ".ogg" => "application/ogg",
36: ".wav" => "audio/x-wav",
37: ".gif" => "image/gif",
38: ".jpg" => "image/jpeg",
39: ".jpeg" => "image/jpeg",
40: ".png" => "image/png",
41: ".xbm" => "image/x-xbitmap",
42: ".xpm" => "image/x-xpixmap",
43: ".xwd" => "image/x-xwindowdump",
44: ".css" => "text/css",
45: ".html" => "text/html",
46: ".htm" => "text/html",
47: ".js" => "text/javascript",
48: ".asc" => "text/plain",
49: ".c" => "text/plain",
50: ".cpp" => "text/plain",
51: ".log" => "text/plain",
52: ".conf" => "text/plain",
53: ".text" => "text/plain",
54: ".txt" => "text/plain",
55: ".spec" => "text/plain",
56: ".dtd" => "text/xml",
57: ".xml" => "text/xml",
58: ".mpeg" => "video/mpeg",
59: ".mpg" => "video/mpeg",
60: ".mov" => "video/quicktime",
61: ".qt" => "video/quicktime",
62: ".avi" => "video/x-msvideo",
63: ".asf" => "video/x-ms-asf",
64: ".asx" => "video/x-ms-asf",
65: ".wmv" => "video/x-ms-wmv",
66: ".bz2" => "application/x-bzip",
67: ".tbz" => "application/x-bzip-compressed-tar",
68: ".tar.bz2" => "application/x-bzip-compressed-tar",
69: ".rpm" => "application/x-rpm",
70: ".json" => "application/json",
71: # make the default mime type application/octet-stream.
72: "" => "application/octet-stream",
73: )
74:
75:
76: #
77: #######################################################################
78:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>