SOURCES: lighttpd.conf - sort mime types by extension

glen glen at pld-linux.org
Tue Nov 15 12:40:52 CET 2005


Author: glen                         Date: Tue Nov 15 11:40:52 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- sort mime types by extension

---- Files affected:
SOURCES:
   lighttpd.conf (1.18 -> 1.19) 

---- Diffs:

================================================================
Index: SOURCES/lighttpd.conf
diff -u SOURCES/lighttpd.conf:1.18 SOURCES/lighttpd.conf:1.19
--- SOURCES/lighttpd.conf:1.18	Tue Nov 15 12:39:51 2005
+++ SOURCES/lighttpd.conf	Tue Nov 15 12:40:47 2005
@@ -53,56 +53,56 @@
 
 # mimetype mapping
 mimetype.assign = (
-	".rpm"          =>      "application/x-rpm",
-	".pdf"          =>      "application/pdf",
-	".sig"          =>      "application/pgp-signature",
-	".spl"          =>      "application/futuresplash",
+	".asc"          =>      "text/plain",
+	".asf"          =>      "video/x-ms-asf",
+	".asx"          =>      "video/x-ms-asf",
+	".avi"          =>      "video/x-msvideo",
+	".bz2"          =>      "application/x-bzip",
+	".c"            =>      "text/plain",
 	".class"        =>      "application/octet-stream",
-	".ps"           =>      "application/postscript",
-	".torrent"      =>      "application/x-bittorrent",
+	".conf"         =>      "text/plain",
+	".css"          =>      "text/css",
+	".dtd"          =>      "text/xml",
 	".dvi"          =>      "application/x-dvi",
+	".gif"          =>      "image/gif",
 	".gz"           =>      "application/x-gzip",
+	".htm"          =>      "text/html",
+	".html"         =>      "text/html",
+	".jpeg"         =>      "image/jpeg",
+	".jpg"          =>      "image/jpeg",
+	".js"           =>      "text/javascript",
+	".m3u"          =>      "audio/x-mpegurl",
+	".mov"          =>      "video/quicktime",
+	".mp3"          =>      "audio/mpeg",
+	".mpeg"         =>      "video/mpeg",
+	".mpg"          =>      "video/mpeg",
+	".ogg"          =>      "application/ogg",
 	".pac"          =>      "application/x-ns-proxy-autoconfig",
+	".pdf"          =>      "application/pdf",
+	".png"          =>      "image/png",
+	".ps"           =>      "application/postscript",
+	".qt"           =>      "video/quicktime",
+	".rpm"          =>      "application/x-rpm",
+	".sig"          =>      "application/pgp-signature",
+	".spl"          =>      "application/futuresplash",
 	".swf"          =>      "application/x-shockwave-flash",
+	".tar"          =>      "application/x-tar",
+	".tar.bz2"      =>      "application/x-bzip-compressed-tar"
 	".tar.gz"       =>      "application/x-tgz",
+	".tbz"          =>      "application/x-bzip-compressed-tar",
+	".text"         =>      "text/plain",
 	".tgz"          =>      "application/x-tgz",
-	".tar"          =>      "application/x-tar",
-	".zip"          =>      "application/zip",
-	".mp3"          =>      "audio/mpeg",
-	".m3u"          =>      "audio/x-mpegurl",
-	".wma"          =>      "audio/x-ms-wma",
-	".wax"          =>      "audio/x-ms-wax",
-	".ogg"          =>      "application/ogg",
+	".torrent"      =>      "application/x-bittorrent",
+	".txt"          =>      "text/plain",
 	".wav"          =>      "audio/x-wav",
-	".gif"          =>      "image/gif",
-	".jpg"          =>      "image/jpeg",
-	".jpeg"         =>      "image/jpeg",
-	".png"          =>      "image/png",
+	".wax"          =>      "audio/x-ms-wax",
+	".wma"          =>      "audio/x-ms-wma",
+	".wmv"          =>      "video/x-ms-wmv",
 	".xbm"          =>      "image/x-xbitmap",
+	".xml"          =>      "text/xml",
 	".xpm"          =>      "image/x-xpixmap",
 	".xwd"          =>      "image/x-xwindowdump",
-	".css"          =>      "text/css",
-	".html"         =>      "text/html",
-	".htm"          =>      "text/html",
-	".js"           =>      "text/javascript",
-	".asc"          =>      "text/plain",
-	".c"            =>      "text/plain",
-	".conf"         =>      "text/plain",
-	".text"         =>      "text/plain",
-	".txt"          =>      "text/plain",
-	".dtd"          =>      "text/xml",
-	".xml"          =>      "text/xml",
-	".mpeg"         =>      "video/mpeg",
-	".mpg"          =>      "video/mpeg",
-	".mov"          =>      "video/quicktime",
-	".qt"           =>      "video/quicktime",
-	".avi"          =>      "video/x-msvideo",
-	".asf"          =>      "video/x-ms-asf",
-	".asx"          =>      "video/x-ms-asf",
-	".wmv"          =>      "video/x-ms-wmv",
-	".bz2"          =>      "application/x-bzip",
-	".tbz"          =>      "application/x-bzip-compressed-tar",
-	".tar.bz2"      =>      "application/x-bzip-compressed-tar"
+	".zip"          =>      "application/zip",
 )
 
 # Use the "Content-Type" extended attribute to obtain mime type if possible
================================================================

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




More information about the pld-cvs-commit mailing list