comparison lighttpd/conf.d/mime.conf @ 38:d2c3c29ca4f9

Add a new statistics script that creates SVG plots.
author John "Elwin" Edwards
date Fri, 10 Jan 2014 07:15:39 -0500
parents
children b1d3a618c254
comparison
equal deleted inserted replaced
37:c045d4dcf88a 38:d2c3c29ca4f9
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 ".svg" => "image/svg+xml",
42 ".xbm" => "image/x-xbitmap",
43 ".xpm" => "image/x-xpixmap",
44 ".xwd" => "image/x-xwindowdump",
45 ".css" => "text/css",
46 ".html" => "text/html",
47 ".htm" => "text/html",
48 ".js" => "text/javascript",
49 ".asc" => "text/plain",
50 ".c" => "text/plain",
51 ".cpp" => "text/plain",
52 ".log" => "text/plain",
53 ".conf" => "text/plain",
54 ".text" => "text/plain",
55 ".txt" => "text/plain",
56 ".spec" => "text/plain",
57 ".dtd" => "text/xml",
58 ".xml" => "text/xml",
59 ".mpeg" => "video/mpeg",
60 ".mpg" => "video/mpeg",
61 ".mov" => "video/quicktime",
62 ".qt" => "video/quicktime",
63 ".avi" => "video/x-msvideo",
64 ".asf" => "video/x-ms-asf",
65 ".asx" => "video/x-ms-asf",
66 ".wmv" => "video/x-ms-wmv",
67 ".bz2" => "application/x-bzip",
68 ".tbz" => "application/x-bzip-compressed-tar",
69 ".tar.bz2" => "application/x-bzip-compressed-tar",
70 ".rpm" => "application/x-rpm",
71 # make the default mime type application/octet-stream.
72 "" => "application/octet-stream",
73 )
74
75
76 #
77 #######################################################################
78