Forum Discussion
JimW_156953
Nimbostratus
May 06, 2016Replacing Server string from HTTP_RESPONSE
Hi:
I am trying to create an irule to hide the Windows 2000 based IIS5 from being visible, while keeping the legacy system running. Therefore I am trying to replace the string from HTTP_RESPONSE i.e.
HTTP/1.1 200 OK Server:Microsoft-IIS/5.0
to
Server: Microsoft-IIS/8.0
I have been working on crafting a streaming profile but http_response doesn't have the option to replace the server string.
Thanks in advance,
1 Reply
Hello,
You can use the following irule :
When HTTP_RESPONSE { HTTP::header remove Server }Or you can just use
HTTP::header replace Server "new value"
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects