SOURCES: lighttpd.conf - use autogenerated mime.types

glen glen at pld-linux.org
Tue Nov 15 15:06:23 CET 2005


Author: glen                         Date: Tue Nov 15 14:06:23 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- use autogenerated mime.types

---- Files affected:
SOURCES:
   lighttpd.conf (1.21 -> 1.22) 

---- Diffs:

================================================================
Index: SOURCES/lighttpd.conf
diff -u SOURCES/lighttpd.conf:1.21 SOURCES/lighttpd.conf:1.22
--- SOURCES/lighttpd.conf:1.21	Tue Nov 15 12:54:58 2005
+++ SOURCES/lighttpd.conf	Tue Nov 15 15:06:18 2005
@@ -52,154 +52,8 @@
 )
 
 # mimetype mapping
-mimetype.assign = (
-	".ai"		=> "application/postscript",
-	".aif"		=> "audio/x-aiff",
-	".asc"		=> "text/plain",
-	".asf"		=> "video/x-ms-asf",
-	".asx"		=> "video/x-ms-asf",
-	".au"		=> "audio/basic",
-	".avi"		=> "video/x-msvideo",
-	".bcpio"	=> "application/x-bcpio",
-	".bin"		=> "application/octet-stream",
-	".bmp"		=> "image/bmp",
-	".bz2"		=> "application/x-bzip",
-	".bz2"		=> "application/x-bzip2",
-	".c"		=> "text/plain",
-	".chrt"		=> "application/x-kchart",
-	".class"	=> "application/octet-stream",
-	".conf"		=> "text/plain",
-	".cpio"		=> "application/x-cpio",
-	".cpt"		=> "application/mac-compactpro",
-	".csh"		=> "application/x-csh",
-	".css"		=> "text/css",
-	".dat"		=> "application/x-ns-proxy-autoconfig",
-	".dcr"		=> "application/x-director",
-	".djvu"		=> "image/vnd.djvu",
-	".doc"		=> "application/msword",
-	".dtd"		=> "text/xml",
-	".dvi"		=> "application/x-dvi",
-	".etx"		=> "text/x-setext",
-	".ez"		=> "application/andrew-inset",
-	".flv"		=> "video/x-flv",
-	".gif"		=> "image/gif",
-	".gtar"		=> "application/x-gtar",
-	".gz"		=> "application/x-gzip",
-	".hdf"		=> "application/x-hdf",
-	".hqx"		=> "application/mac-binhex40",
-	".htc"		=> "text/x-component",
-	".htm"		=> "text/html",
-	".html"		=> "text/html",
-	".ice"		=> "x-conference/x-cooltalk",
-	".ief"		=> "image/ief",
-	".igs"		=> "model/iges",
-	".jpeg"		=> "image/jpeg",
-	".jpg"		=> "image/jpeg",
-	".js"		=> "application/x-javascript",
-	".js"		=> "text/javascript",
-	".kil"		=> "application/x-killustrator",
-	".kpr"		=> "application/x-kpresenter",
-	".ksp"		=> "application/x-kspread",
-	".kwd"		=> "application/x-kword",
-	".latex"	=> "application/x-latex",
-	".m3u"		=> "audio/x-mpegurl",
-	".man"		=> "application/x-troff-man",
-	".me"		=> "application/x-troff-me",
-	".mid"		=> "audio/midi",
-	".mif"		=> "application/vnd.mif",
-	".mov"		=> "video/quicktime",
-	".movie"	=> "video/x-sgi-movie",
-	".mp3"		=> "audio/mpeg",
-	".mpeg"		=> "video/mpeg",
-	".mpg"		=> "video/mpeg",
-	".mpga"		=> "audio/mpeg",
-	".ms"		=> "application/x-troff-ms",
-	".msh"		=> "model/mesh",
-	".mxu"		=> "video/vnd.mpegurl",
-	".nc"		=> "application/x-netcdf",
-	".oda"		=> "application/oda",
-	".ogg"		=> "application/ogg",
-	".pac"		=> "application/x-ns-proxy-autoconfig",
-	".pbm"		=> "image/x-portable-bitmap",
-	".pdb"		=> "chemical/x-pdb",
-	".pdf"		=> "application/pdf",
-	".pgm"		=> "image/x-portable-graymap",
-	".pgn"		=> "application/x-chess-pgn",
-	".png"		=> "image/png",
-	".pnm"		=> "image/x-portable-anymap",
-	".ppm"		=> "image/x-portable-pixmap",
-	".ppt"		=> "application/vnd.ms-powerpoint",
-	".ps"		=> "application/postscript",
-	".qt"		=> "video/quicktime",
-	".ra"		=> "audio/x-realaudio",
-	".ram"		=> "audio/x-pn-realaudio",
-	".rar"		=> "application/x-rar-compressed",
-	".ras"		=> "image/x-cmu-raster",
-	".rgb"		=> "image/x-rgb",
-	".rpm"		=> "application/x-rpm",
-	".rtf"		=> "application/rtf",
-	".rtf"		=> "text/rtf",
-	".rtx"		=> "text/richtext",
-	".sgml"		=> "text/sgml",
-	".sh"		=> "application/x-sh",
-	".shar"		=> "application/x-shar",
-	".sig"		=> "application/pgp-signature",
-	".sit"		=> "application/x-stuffit",
-	".skp"		=> "application/x-koan",
-	".smi"		=> "application/smil",
-	".spl"		=> "application/futuresplash",
-	".spl"		=> "application/x-futuresplash",
-	".src"		=> "application/x-wais-source",
-	".stc"		=> "application/vnd.sun.xml.calc.template",
-	".std"		=> "application/vnd.sun.xml.draw.template",
-	".sti"		=> "application/vnd.sun.xml.impress.template",
-	".stw"		=> "application/vnd.sun.xml.writer.template",
-	".sv4cpio"	=> "application/x-sv4cpio",
-	".sv4crc"	=> "application/x-sv4crc",
-	".swf"		=> "application/x-shockwave-flash",
-	".sxc"		=> "application/vnd.sun.xml.calc",
-	".sxd"		=> "application/vnd.sun.xml.draw",
-	".sxg"		=> "application/vnd.sun.xml.writer.global",
-	".sxi"		=> "application/vnd.sun.xml.impress",
-	".sxm"		=> "application/vnd.sun.xml.math",
-	".sxw"		=> "application/vnd.sun.xml.writer",
-	".t"		=> "application/x-troff",
-	".tar"		=> "application/x-tar",
-	".tar.bz2"	=> "application/x-bzip-compressed-tar"
-	".tar.gz"	=> "application/x-tgz",
-	".tbz"		=> "application/x-bzip-compressed-tar",
-	".tcl"		=> "application/x-tcl",
-	".tex"		=> "application/x-tex",
-	".texinfo"	=> "application/x-texinfo",
-	".text"		=> "text/plain",
-	".tgz"		=> "application/x-tgz",
-	".tiff"		=> "image/tiff",
-	".torrent"	=> "application/x-bittorrent",
-	".tsv"		=> "text/tab-separated-values",
-	".txt"		=> "text/plain",
-	".ustar"	=> "application/x-ustar",
-	".vbs"		=> "text/vbscript",
-	".vcd"		=> "application/x-cdlink",
-	".wav"		=> "audio/x-wav",
-	".wax"		=> "audio/x-ms-wax",
-	".wbmp"		=> "image/vnd.wap.wbmp",
-	".wbxml"	=> "application/vnd.wap.wbxml",
-	".wma"		=> "audio/x-ms-wma",
-	".wml"		=> "text/vnd.wap.wml",
-	".wmlc"		=> "application/vnd.wap.wmlc",
-	".wmls"		=> "text/vnd.wap.wmlscript",
-	".wmlsc"	=> "application/vnd.wap.wmlscriptc",
-	".wmv"		=> "video/x-ms-wmv",
-	".wrl"		=> "model/vrml",
-	".xbm"		=> "image/x-xbitmap",
-	".xhtml"	=> "application/xhtml+xml",
-	".xls"		=> "application/vnd.ms-excel",
-	".xml"		=> "text/xml",
-	".xpm"		=> "image/x-xpixmap",
-	".xwd"		=> "image/x-xwindowdump",
-	".xyz"		=> "chemical/x-xyz",
-	".zip"		=> "application/zip",
-)
+# include, relative to dirname of main config file
+include "mime.types.conf"
 
 # Use the "Content-Type" extended attribute to obtain mime type if possible
 #mimetype.use-xattr = "enable"
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/lighttpd.conf?r1=1.21&r2=1.22&f=u




More information about the pld-cvs-commit mailing list