On 10/04/2011 09:29 AM, Magnus Olsson wrote:
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.

Files in /etc are there to be changed. To avoid update conflicts, the mime-support package should be fixed to either allow additional config files in /etc (like /etc/mime.types.d) or to put the current data in /usr/share, and only have custom types in /etc/mime.types.

I propose that create-mime.assign.pl also reads .mime.types in the
home-dir of lighttpd user (lighttpd.conf::server.username)

Reading from any user home dir is certainly not an option.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to