That message comes from Apache, not Tomcat. So yes, you need to fix Apache.
When you front Tomcat with Apache, you instruct Apache to forward requests over a connector. Instead of using the direct-in default Tomcat ports of 8080 (http) and 8443 (https), you'd normally use the more common ports 80 (http) and 443 (https) in Apache. Apache would then forward to the Tomcat ports when it detects a Tomcat URL (as defined in Apache's config files).
An IDE is no substitute for an Intelligent Developer.