title: Adobe CQ: custom error handler only works with .html extension
body: <p>I'm trying to implement custom error handlers in AEM 5.6.  I've overlayed a custom handler for 404 errors under /apps/sling/servlet/errorhandler/404.jsp.  It works perfectly when the requested resource has the .html extension.  However, if I change the extension of the resource to anything else (including no extension at all), I am given the default 404 handler instead of my custom handler.</p>
  
  <p>I don't see this behavior when deploying to an author instance.  It's only occurring on publish instances.</p>
  
  <p>After quite a bit of searching Google, I've been able to find a single post from someone who has the same problem (<a href="http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__rgmz-hi_i_added_custo.html" rel="nofollow">http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__rgmz-hi_i_added_custo.html</a>).  However, the resolution, if any, is unclear to me.</p>