mime.conf ignores dependency to mod_include
This bug report will be marked for expiration in 28 days if no further activity occurs. (find out why)
In Ubuntu 16.04 LTS the file installed by apache2 as /etc/apache2/
# Filters allow you to process content before it is sent to the client.
# To parse .shtml files for server-side includes (SSI):
# (You will also need to add "Includes" to the "Options" directive.)
AddType text/html .shtml
The AddOutputFilter line needs mod_include to function correctly. If mod_include is not enabled, but mime.conf is enabled, then any request to a file ending on .shtml will cause the following error being printed in the log:
AH00082: an unknown filter was not added: includes
This can be quite irritating.
It can be fixed by only adding the output filter in case the required mod_include is available:
In case this fix is something Ubuntu does not want to fix but expects from upstream please report accordingly upstream to have a fix included in Ubuntu.