The changes applied in https://gerrit.wikimedia.org/r/78409 provide all the apache configuration needed to enable thumb.php 404 handling, but the directives are added to apache in such a way that they do not actually work.
The problem is that the current way that apache::site includes configuration snippets loads all snippets in the global apache scope. What it really needs to do is define a <VirtualHost> container and load all snippets within that scope.
Version: unspecified
Severity: normal