About magic:
Apache's mod_mime_magic does not support all features that are used in
/usr/share/mime/magic. Using that file would result in error messages.
And from a quick glance at libmagic, it doesn't seem possible to use it
in mod_mime_magic either because it is not thread safe. Therefore
** Package changed: ubuntu = apache2 (Ubuntu)
--
Apache should tap into the shared-mime-info database
https://bugs.launchpad.net/bugs/601501
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in ubuntu.
--
Ubuntu-server-bugs
According to the configuration of the mime module the default apache2
configuration is already using /etc/mime.types:
#
# TypesConfig points to the file containing the list of mappings from
# filename extension to MIME-type.
#
TypesConfig /etc/mime.types
The mime-support handles
I believe you are wrong. /etc/mime.types is not the shared-mime-info
database I am talking about. I am aware that Apache uses
/etc/mime.types, which only has extension globbing, but no magic or
namespace detection. The shared-mime-info database is cascaded in the
following three directories (only