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 the first two are necessary for Apache):
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 the first two are necessary for Apache):
/usr/share/mime share/mime /.local/ share/mime
/usr/local/
/home/*