Apache should tap into the shared-mime-info database
Bug #601501 reported by
Delan Azabani
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apache2 (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Apache has its own small MIME database, however it is quite limited. Apache would benefit from sending files as the correct MIME type based on the information searched in the shared-mime-info database, which contains many more type definitions, as well as the facility for magic/namespace detection.
affects: | ubuntu → apache2 (Ubuntu) |
To post a comment you must log in.
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 /etc/mime.types. So apache2 is already using the system mime type database.