file(1) / magic(5) database vs shared-mime-info database
Liam R E Quin
liam at holoweb.net
Sun Feb 25 21:57:02 UTC 2018
On Sun, 2018-02-25 at 13:51 -0800, Kip Warner wrote:
> Out of curiosity though, what about in the web world where php(1) or
> some other ensemble of tools used to serve browser scripts need to
> check MIME types? At this time I think they probably all rely on
> file(1) and its API?
No, Apache has its own mechanism that mostly relies on filename
conventions, as do most other Web servers.
Liam
--
Liam Quin, W3C, http://www.w3.org/People/Quin/
Staff contact for Verifiable Claims WG, SVG WG, XQuery WG
Improving Web Advertising: https://www.w3.org/community/web-adv/
Personal: awesome vintage art: http://www.fromoldbooks.org/
More information about the xdg
mailing list