mime.conf 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. mimetype.use-xattr = "disable"
  2. ## Superglue mimetype mapping
  3. ## Dotless files are handled as text/html via URL matching,
  4. ## see lighttpd.conf
  5. mimetype.assign = (
  6. ".appcache" => "text/cache-manifest" ,
  7. ".asc" => "text/plain",
  8. ".asf" => "video/x-ms-asf",
  9. ".asx" => "video/x-ms-asf",
  10. ".avi" => "video/x-msvideo",
  11. ".bz2" => "application/x-bzip",
  12. ".class" => "application/octet-stream",
  13. ".conf" => "text/plain",
  14. ".cpp" => "text/plain",
  15. ".crx" => "application/x-chrome-extension",
  16. ".css" => "text/css",
  17. ".c" => "text/plain",
  18. ".dtd" => "text/xml",
  19. ".dvi" => "application/x-dvi",
  20. ".eot" => "application/vnd.ms-fontobject",
  21. ".gif" => "image/gif",
  22. ".gz" => "application/x-gzip",
  23. ".htc" => "text/x-component",
  24. ".html" => "text/html",
  25. ".htm" => "text/html",
  26. ".ico" => "image/x-icon",
  27. ".jar" => "application/x-java-archive",
  28. ".jpeg" => "image/jpeg",
  29. ".jpg" => "image/jpeg",
  30. ".json" => "application/json",
  31. ".js" => "text/javascript",
  32. ".log" => "text/plain",
  33. ".m3u" => "audio/x-mpegurl",
  34. ".manifest" => "text/cache-manifest" ,
  35. ".mov" => "video/quicktime",
  36. ".mp3" => "audio/mpeg",
  37. ".mp4" => "video/mp4",
  38. ".mpeg" => "video/mpeg",
  39. ".mpg" => "video/mpeg",
  40. ".oex" => "application/x-opera-extension",
  41. ".oga" => "audio/ogg",
  42. ".ogg" => "application/ogg",
  43. ".ogv" => "video/ogg",
  44. ".otf" => "application/font-sfnt",
  45. ".pac" => "application/x-ns-proxy-autoconfig",
  46. ".pdf" => "application/pdf",
  47. ".pem" => "x-pem-file",
  48. ".png" => "image/png",
  49. ".ps" => "application/postscript",
  50. ".qt" => "video/quicktime",
  51. ".rpm" => "application/x-rpm",
  52. ".safariextz" => "application/octet-stream",
  53. ".sig" => "application/pgp-signature",
  54. ".spec" => "text/plain",
  55. ".spl" => "application/futuresplash",
  56. ".svg" => "image/svg+xml",
  57. ".swf" => "application/x-shockwave-flash",
  58. ".tar" => "application/x-tar",
  59. ".tar.bz2" => "application/x-bzip-compressed-tar",
  60. ".tar.gz" => "application/x-tgz",
  61. ".tbz" => "application/x-bzip-compressed-tar",
  62. ".text" => "text/plain",
  63. ".tgz" => "application/x-tgz",
  64. ".torrent" => "application/x-bittorrent",
  65. ".ttc" => "application/x-font-ttf",
  66. ".ttf" => "application/x-font-ttf",
  67. ".txt" => "text/plain",
  68. ".vcf" => "text/x-vcard",
  69. ".vtt" => "text/vtt",
  70. ".wav" => "audio/x-wav",
  71. ".wax" => "audio/x-ms-wax",
  72. ".webapp" => "application/x-web-app-manifest+json",
  73. ".webm" => "video/webm; codecs='vorbis'",
  74. ".webp" => "image/webp",
  75. ".wma" => "audio/x-ms-wma",
  76. ".wmv" => "video/x-ms-wmv",
  77. ".woff" => "application/font-woff",
  78. ".xbm" => "image/x-xbitmap",
  79. ".xml" => "text/xml",
  80. ".xpi" => "application/x-xpinstall",
  81. ".xpm" => "image/x-xpixmap",
  82. ".xwd" => "image/x-xwindowdump",
  83. ".zip" => "application/zip",
  84. "" => "application/octet-stream"
  85. )