IBM Support

How to suppress IHS server version information in ClearQuest Web pages

Technote (FAQ)


Question

How can you suppress IBM HTTP Server (IHS) version information in IBM Rational ClearQuest Web pages?

Cause

The default settings in the IBM HTTP Server installed with IBM Rational ClearQuest 7.1.x are such that the response messages from the ClearQuest Web server include the HTTP server type and version in their headers.

Answer

Starting in version 7.1, Rational ClearQuest ships with IBM HTTP Server 6.1.x, whose default configuration includes version information when an error is displayed.

The server configuration parameter ServerTokens can be used to reduce the content to just "IBM_HTTP_Server".

For example, on Windows, you can add the following lines to the httpd.conf file located in the default directory C:\Program Files\IBM\RationalSDLC\common\IHS\conf\:

##
## added to hide server info
##
ServerTokens ProductOnly

For more information about the ServerTokens directive, see
http://publib.boulder.ibm.com/httpserv/manual60/mod/core.html#servertokens

To keep the server information from appearing in error responses, you can edit the web server error response file bottom.html and remove the reference to the SERVER_SOFTWARE environment variable.

You can use the following command to search all error response html files that contain SERVER_SOFTWARE on Windows:

findstr /s /i SERVER_SOFTWARE "C:\Program Files\IBM\RationalSDLC\common\IHS\error\*.html"

Server information in error response headers cannot be suppressed completely.
For more information about hiding what server is running, see
http://publib.boulder.ibm.com/httpserv/ihsdiag/questions.html#ihshideserver


Related information

IBM HTTP Server Configuration: ServerTokens

Document information

More support for: Rational ClearQuest
Web Server (7.1)

Software version: 7.1, 7.1.0.1, 7.1.0.2, 7.1.1, 7.1.1.1, 7.1.1.2, 7.1.1.3, 7.1.1.4, 7.1.1.5, 7.1.1.6, 7.1.1.7, 7.1.2, 7.1.2.1, 7.1.2.2, 7.1.2.3, 7.1.2.4, 8.0, 8.0.0.1

Operating system(s): AIX, HP-UX, Linux, Solaris, Windows

Reference #: 1497838

Modified date: 19 March 2012