websphere-libertyopen-libertyserver.xmlcustom-propertiesweb-container

Is there Web Container custom property com.ibm.ws.webcontainer.suppresserrorpageodrheader="true" equivalent in Open liberty?


In WAS Liberty documentation I can find the Web Container Custom property com.ibm.ws.webcontainer.suppresserrorpageodrheader (https://www.ibm.com/docs/en/was/8.5.5?topic=configuration-web-container-custom-properties#com.ibm.ws.webcontainer.suppressErrorPageODRHeader)

What is the equivalent in Open Liberty? How can I set it to true? Where do I set it?

Thanks, Gilson


Solution

  • I'd suggest trying to add the following to your server.xml:

    <webContainer com.ibm.ws.webcontainer.suppresserrorpageodrheader="true"/>