Exclude a URL from Being Served by Hippo CMS
In a Hippo CMS site, all URLs are under its control. Using the sitemap configuration, you can to some extent influence how URLs will map to content but there's no obvious or well-documented way to make Hippo CMS ignore the URL and let it be processed by a different servlet.
This is done by a servlet which you need to configure in your
web.xml file. No matter where in the file you place the required
<servlet-mapping> elements, Hippo CMS will still handle all the requests including those configured in the CSRFGuard
<servlet-mapping> element, i.e.
If this URL won't map to any CMS content (which should usually be the case), then Hippo will serve its 404 (Page Not Found) error page.
The key part of the sitemap configuration is the
hst:containerresource property being set to
true. This property can only be used in the default channel configuration and will apply to all channels in your Hippo CMS instance. If you try to use the same property in any other channel, then the sitemap entry will be ignored and the following error will be emitted: