I really wish that lighttpd used a global mime-types file but oh-well. I use lighttpd for download in my CDN. One of the file types is 'dmg' (application/x-apple-diskimage). I wish that /etc/lighttpd/mime-types.conf included this type so I don't have to edit on all my servers (all three - oh wow!) I've attached a patch that adds this line to the required file.
Created attachment 175363 [details, diff] Patchy McUnifiedDiff - adds one mime type It's a single line patch.
More interesting would be a patch that makes lighttpd use the system MIME config. :)
cat /etc/mime.types | awk '// { if ( $1 != "#" && $2) print "\t\""$2"\"\t\t =>\t\""$1"\"," }' this little bugger should get you half way..
this is now in cvs. thanks for the report you will need to remerge lighttpd to have the new mime-type file installed. (or wait for the next bump, which also will have it). thanks kind regards Thilo