diff options
author | Stefan Bühler <stbuehler@web.de> | 2015-07-07 17:12:48 +0000 |
---|---|---|
committer | Stefan Bühler <stbuehler@web.de> | 2015-07-07 17:12:48 +0000 |
commit | 8db141a1b30e5808679e1f341c6ca914be91bed8 (patch) | |
tree | bdc907f03ba4f2e4e3847bb08bb80ba171b5781c /doc/config/conf.d/mime.conf | |
parent | cfaa78ebc5adc35970fab5befabe7760a114e337 (diff) | |
download | lighttpd-git-8db141a1b30e5808679e1f341c6ca914be91bed8.tar.gz |
mime.conf: add some new mime types, remove .dat, .sha1, .md5, update .vcf
- create-mime.conf.pl: also parse lines with upper case characters
- rerun create-mime.conf.pl with debian mime-support 3.58
From: Stefan Bühler <stbuehler@web.de>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3001 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'doc/config/conf.d/mime.conf')
-rw-r--r-- | doc/config/conf.d/mime.conf | 43 |
1 files changed, 35 insertions, 8 deletions
diff --git a/doc/config/conf.d/mime.conf b/doc/config/conf.d/mime.conf index f65a02cd..c4d6ce41 100644 --- a/doc/config/conf.d/mime.conf +++ b/doc/config/conf.d/mime.conf @@ -27,6 +27,7 @@ ## This matches all extensions and acts as default mime type, and enables ## caching for those. mimetype.assign = ( + ".pcf.Z" => "application/x-font-pcf", ".tar.bz2" => "application/x-gtar-compressed", ".tar.gz" => "application/x-gtar-compressed", ".ez" => "application/andrew-inset", @@ -40,7 +41,12 @@ mimetype.assign = ( ".dcm" => "application/dicom", ".tsp" => "application/dsptype", ".es" => "application/ecmascript", + ".otf" => "application/font-sfnt", + ".ttf" => "application/font-sfnt", + ".pfr" => "application/font-tdpfr", + ".woff" => "application/font-woff", ".spl" => "application/futuresplash", + ".gz" => "application/gzip", ".hta" => "application/hta", ".jar" => "application/java-archive", ".ser" => "application/java-serialized-object", @@ -61,6 +67,7 @@ mimetype.assign = ( ".bin" => "application/octet-stream", ".ent" => "application/octet-stream", ".oda" => "application/oda", + ".opf" => "application/oebps-package+xml", ".ogx" => "application/ogg", ".one" => "application/onenote", ".onepkg" => "application/onenote", @@ -95,17 +102,32 @@ mimetype.assign = ( ".zip" => "application/zip", ".apk" => "application/vnd.android.package-archive", ".cdy" => "application/vnd.cinderella", + ".ddeb" => "application/vnd.debian.binary-package", + ".deb" => "application/vnd.debian.binary-package", + ".udeb" => "application/vnd.debian.binary-package", + ".sfd" => "application/vnd.font-fontforge-sfd", ".kml" => "application/vnd.google-earth.kml+xml", ".kmz" => "application/vnd.google-earth.kmz", ".xul" => "application/vnd.mozilla.xul+xml", ".xlb" => "application/vnd.ms-excel", ".xls" => "application/vnd.ms-excel", ".xlt" => "application/vnd.ms-excel", + ".xlam" => "application/vnd.ms-excel.addin.macroEnabled.12", + ".xlsb" => "application/vnd.ms-excel.sheet.binary.macroEnabled.12", + ".xlsm" => "application/vnd.ms-excel.sheet.macroEnabled.12", + ".xltm" => "application/vnd.ms-excel.template.macroEnabled.12", ".eot" => "application/vnd.ms-fontobject", ".thmx" => "application/vnd.ms-officetheme", ".cat" => "application/vnd.ms-pki.seccat", ".pps" => "application/vnd.ms-powerpoint", ".ppt" => "application/vnd.ms-powerpoint", + ".ppam" => "application/vnd.ms-powerpoint.addin.macroEnabled.12", + ".pptm" => "application/vnd.ms-powerpoint.presentation.macroEnabled.12", + ".sldm" => "application/vnd.ms-powerpoint.slide.macroEnabled.12", + ".ppsm" => "application/vnd.ms-powerpoint.slideshow.macroEnabled.12", + ".potm" => "application/vnd.ms-powerpoint.template.macroEnabled.12", + ".docm" => "application/vnd.ms-word.document.macroEnabled.12", + ".dotm" => "application/vnd.ms-word.template.macroEnabled.12", ".odc" => "application/vnd.oasis.opendocument.chart", ".odb" => "application/vnd.oasis.opendocument.database", ".odf" => "application/vnd.oasis.opendocument.formula", @@ -151,6 +173,9 @@ mimetype.assign = ( ".cap" => "application/vnd.tcpdump.pcap", ".pcap" => "application/vnd.tcpdump.pcap", ".vsd" => "application/vnd.visio", + ".vss" => "application/vnd.visio", + ".vst" => "application/vnd.visio", + ".vsw" => "application/vnd.visio", ".wbxml" => "application/vnd.wap.wbxml", ".wmlc" => "application/vnd.wap.wmlc", ".wmlsc" => "application/vnd.wap.wmlscriptc", @@ -172,15 +197,16 @@ mimetype.assign = ( ".pgn" => "application/x-chess-pgn", ".mph" => "application/x-comsol", ".cpio" => "application/x-cpio", - ".deb" => "application/x-debian-package", - ".udeb" => "application/x-debian-package", ".dcr" => "application/x-director", ".dir" => "application/x-director", ".dxr" => "application/x-director", ".dms" => "application/x-dms", ".wad" => "application/x-doom", ".dvi" => "application/x-dvi", - ".woff" => "application/x-font-woff", + ".gsf" => "application/x-font", + ".pfa" => "application/x-font", + ".pfb" => "application/x-font", + ".pcf" => "application/x-font-pcf", ".mm" => "application/x-freemind", ".gan" => "application/x-ganttproject", ".gnumeric" => "application/x-gnumeric", @@ -190,7 +216,6 @@ mimetype.assign = ( ".taz" => "application/x-gtar-compressed", ".tbz" => "application/x-gtar-compressed", ".tgz" => "application/x-gtar-compressed", - ".gz" => "application/x-gzip", ".hdf" => "application/x-hdf", ".hwp" => "application/x-hwp", ".ica" => "application/x-ica", @@ -225,8 +250,8 @@ mimetype.assign = ( ".frame" => "application/x-maker", ".frm" => "application/x-maker", ".maker" => "application/x-maker", - ".md5" => "application/x-md5", ".mif" => "application/x-mif", + ".m3u8" => "application/x-mpegURL", ".wmd" => "application/x-ms-wmd", ".wmz" => "application/x-ms-wmz", ".bat" => "application/x-msdos-program", @@ -235,7 +260,6 @@ mimetype.assign = ( ".exe" => "application/x-msdos-program", ".msi" => "application/x-msi", ".nc" => "application/x-netcdf", - ".dat" => "application/x-ns-proxy-autoconfig", ".pac" => "application/x-ns-proxy-autoconfig", ".nwc" => "application/x-nwc", ".o" => "application/x-object", @@ -255,7 +279,6 @@ mimetype.assign = ( ".sce" => "application/x-scilab", ".sci" => "application/x-scilab", ".xcos" => "application/x-scilab-xcos", - ".sha1" => "application/x-sha1", ".shar" => "application/x-shar", ".swf" => "application/x-shockwave-flash", ".swfl" => "application/x-shockwave-flash", @@ -283,6 +306,7 @@ mimetype.assign = ( ".xcf" => "application/x-xcf", ".fig" => "application/x-xfig", ".xpi" => "application/x-xpinstall", + ".xz" => "application/x-xz", ".amr" => "audio/amr", ".awb" => "audio/amr-wb", ".axa" => "audio/annodex", @@ -370,6 +394,7 @@ mimetype.assign = ( ".tgf" => "chemical/x-mdl-tgf", ".mcif" => "chemical/x-mmcif", ".mol2" => "chemical/x-mol2", + ".b" => "chemical/x-molconn-Z", ".gpt" => "chemical/x-mopac-graph", ".mop" => "chemical/x-mopac-input", ".mopcrt" => "chemical/x-mopac-input", @@ -465,6 +490,8 @@ mimetype.assign = ( ".tsv" => "text/tab-separated-values", ".tm" => "text/texmacs", ".ttl" => "text/turtle", + ".vcard" => "text/vcard", + ".vcf" => "text/vcard", ".jad" => "text/vnd.sun.j2me.app-descriptor", ".wml" => "text/vnd.wap.wml", ".wmls" => "text/vnd.wap.wmlscript", @@ -507,8 +534,8 @@ mimetype.assign = ( ".sty" => "text/x-tex; charset=utf-8", ".tex" => "text/x-tex; charset=utf-8", ".vcs" => "text/x-vcalendar", - ".vcf" => "text/x-vcard", ".3gp" => "video/3gpp", + ".ts" => "video/MP2T", ".axv" => "video/annodex", ".dl" => "video/dl", ".dif" => "video/dv", |