[pkg-lighttpd] Bug#644227: lighttpd create-mime.assign.pl ignores ~/.mime.types
Magnus Olsson
magnus at minimum.se
Tue Oct 4 07:29:56 UTC 2011
Package: lighttpd
Version: 1.4.28-2
Lighttpd gets its MIME configuration from output of
/usr/share/lighttpd/create-mime.assign.pl. This script only reads MIME
types from /etc/mime.types. However, the mime-support package also keeps
per-user MIME-types in ~/.mime.types. These are ignored in the Lighttpd
configuration, even if kept in www-data home-dir. The only way to add
new per-user MIME types that are also picked up by Lighttpd is through
/etc/mime.types, which is not recommended.
I propose that create-mime.assign.pl also reads .mime.types in the
home-dir of lighttpd user (lighttpd.conf::server.username)
More information about the pkg-lighttpd-maintainers
mailing list