[pkg-lighttpd] Bug#644227: Bug#644227: lighttpd create-mime.assign.pl ignores ~/.mime.types

Olaf van der Spek olafvdspek at gmail.com
Tue Oct 4 07:48:18 UTC 2011


On Tue, Oct 4, 2011 at 9:29 AM, Magnus Olsson <magnus at minimum.se> 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.
>
> I propose that create-mime.assign.pl also reads .mime.types in the home-dir
> of lighttpd user (lighttpd.conf::server.username)

Hi Magnus,

The www-data home dir is /var/www
This is certainly not the right place to put mime types.

What exactly does mime-support do?

Olaf





More information about the pkg-lighttpd-maintainers mailing list