Question & Answer
Question
Is it possible to remove the server information from the http header that the server returns?
Answer
Question/Problem Description
Is it possible to remove the server information from the http header that Rocket Data (Shadow) returns?
Resolution
The server parameter PRODUCTTOKEN can be set to change the Product Name that is returned.
- This can be set dynamically under ISPF C.2 PRODWWW group for parameter: PRODUCT NAME HTTP TOKEN VALUE 'SHADOW-WEB-SERVER/07"
- You can make the change permanent by adding the parm to the server's IN00 startup exec: "MODIFY PARM NAME(PRODUCTTOKEN) VALUE(SERVER)"
This parameter can be used to specify the name of the product as returned in an HTTP header field. To be suitable for this use, it should be a single token, which can contain dashes ( - ), but not embedded blanks or other special characters. The string may contain a single slash ( / ) preceding a version number token, if you wish to include versioning information. However, if more than one slash is present, only the last will be be preserved. The server converts all invalid characters to dashes when when this parameter is set. The server uses this value to form the "Server:" HTTP response header.
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS4NKG","label":"IBM Data Virtualization Manager for z\/OS"},"Component":"","Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Was this topic helpful?
Document Information
Modified date:
07 June 2020
UID
ibm16220869