Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

426
Vistas
Removing/Hiding the Tomcat version on error pages

I am currently having difficulties removing/ hiding the Tomcat version on my error page.

All the methods and steps that I have tried do not work, I have run through multiple solutions and checked each step accordingly. However, to no avail.. none of them works. Below is a list of what I have tried. I appreciate any tips/ suggestions. Thank you!

  1. Added a valve statement to the server.xml.

<Valve className="org.apache.catalina.valves.ErrorReportValve" showReport="false" showServerInfo="false" />

  1. Created a ServerInfo.properties file in /lib/org/apache/catalina/util

    server.info= Test

  2. Modified the web.xml file with the following code and HTML files.

  <error-page>
   <error-code>500</error-code>
   <location>/errors/500.html</location>
  </error-page>
  <error-page>
   <error-code>404</error-code>
   <location>/errors/404.html</location>
  </error-page>

4.Redirecting the error by using httpsError in the web.config file Here is the code and error that I got. (HTTP Error 500.19, error code 0x8007000d) And I have URL Rewrite installed. Sorry for the horrible images, I wasn't able to take a snippet.

Code

Error

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Cause:

This problem occurs because the ApplicationHost.config or Web.config file contains a malformed or unidentified XML element. IIS can't identify the XML elements of the modules that are not installed. For example, IIS URL Rewrite module.

Resolution:

Use one of the following methods:

  • Delete the malformed XML element from the ApplicationHost.config or Web.config file.
  • Check the unidentified XML elements, and then install the relevant IIS modules.
about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda