We have a need to check if a custom error page is correctly in place for certain servers based on Tomcat. Unfortunately, the HTTP Advanced sensor doesn't seem to get past (ignore) the 404 error and scrape the error page itself for text I'm looking for. I'm guessing the sensor will only parse for text if the page returns a 200.
Background - Security compliance scans will complain if the default Tomcat error page is used.
Is there a solution for this?