Posts

Showing posts from August, 2017

Suppress Server Header in JBoss EAP 6

Modify or suppress "Server" header and "X-Powered-By" header in JBoss EAP 6.x: Solution: Following  section to be added to disable X-powered-by header value in standalone.xml file <subsystem xmlns="urn:jboss:domain:web:1.1" default-virtual-server="default-host" native="false">             <configuration>                 <jsp-configuration x-powered-by="false"/>             </configuration>        ...        ... </subsystem> Modify Server header value using system property org.apache.coyote.http11.Http11Protocol.SERVER in standalone.xml file <system-properties>      <property name="org.apache.coyote.http11.Http11Protocol.SERVER" value="foo"/> </system-properties>