Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

433
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda