Forum Discussion
zeropixel_23561
Nimbostratus
Dec 24, 2015iRule to add the Server header in the HTTP Response (PLEASE HELP)
I created the iRule and need to add the Server header in the HTTP Response.
I added the iRule from the article https://support.f5.com/kb/en-us/solutions/public/10000/000/sol10089.html, but it ad...
zeropixel_23561
Nimbostratus
Dec 24, 2015https://support.f5.com/kb/en-us/solutions/public/14000/300/sol14342.html
Is "Xerver" have some meaning? I am confused why not called "Server", I used the following but it added Xerver: ABC in the response.
when HTTP_RESPONSE { if { [HTTP::header exists "Server"] } { HTTP::header insert Xerver [HTTP::header value "Server"] } } when HTTP_RESPONSE_RELEASE { if { [HTTP::header exists "Xerver"] } { HTTP::header insert Server [HTTP::header value "Xerver"] HTTP::header remove Xerver } }
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