[Bug 601501] Re: Apache should tap into the shared-mime-info database

2010-07-07 Thread Stefan Fritsch
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

[Bug 601501] Re: Apache should tap into the shared-mime-info database

2010-07-06 Thread Vadim Rutkovsky
** 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

[Bug 601501] Re: Apache should tap into the shared-mime-info database

2010-07-06 Thread Mathias Gug
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

[Bug 601501] Re: Apache should tap into the shared-mime-info database

2010-07-06 Thread Delan Azabani
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