Posted: Mon Oct 05, 2020 5:53 am Post subject: BROKER HTTP SERVER change from Apache-Coyote/1.1 to NULL
Voyager
Joined: 22 Jan 2017 Posts: 98 Location: India
I'm trying to change the brokerwide HTTP Listener/connector parameter
The default value is Apache-Coyote/1.1 and as per documentation this value can be changed.
Quote:
-n serverName
Set the value that is set in the "Server" header for all HTTP responses sent by this server.
Value type - string
Initial value - Apache-Coyote/1.1
Can this value be completely removed for all the HTTP response of broker.
I was able to change the name from Apache-Coyote/1.1 to a random string.
Is it possible to completely remove this parameter?
if complete removal is not possible, can we make this parameter NULL?
If I pass space as value then in the Http response header the serverrname is empty, if I just give "" two quotes with no space or two single quotes with no space in those cases the value is defaulted to Apache-coyote/1.1.
Now as I can send empty server name in response that is okay but is there a possibility to completely disable that parameter?
If I make it Empty or deleted the serverName.dat file from registry folder then it is automatically taking Apache-Coyote/1.1 by default
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum