Knowledge Base > Article [0069]

Change server header in Response

We use Tomcat as the web application container. By default, you will see Apache-Coyote/1.1 in response header.

According to Tomcat documentation, you can change it by setting the server attribute in the corresponding Connector

"Overrides the Server header for the http response. If set, the value for this attribute overrides the Tomcat default and any Server header set by a web application. If not set, any value specified by the application is used. If the application does not specify a value then Apache-Coyote/1.1 is used. Unless you are paranoid, you won't need this feature."

OK, let us try to change it on port 8074, the default authentication port in DualShield.

Open the file server.xml which is located in the folder C:\Program Files\Deepnet DualShield\tomcat\conf

Locate the Connector

Add an attribute, server = "DualShield"

Save it, then restart DualShield service.

Now you should see the new server header.