0

I am running Tomcat 8.0.30, and want to redirect all requests that result in a 403 (Forbidden) to 404 (Not Found). The idea is that if someone uses something like DirBuster, it will look like any files/directories that result in a 403 error are not there. I have found numerous tutorials online for accomplishing this with Apache HTTP Server, but nothing for Tomcat. How can I create something like a redirect/rewrite rule to redirect 403 to 404? Thank you for you insight.

user1722919
  • 15
  • 1
  • 4

0 Answers0