zeropixel_23561
Dec 24, 2015Nimbostratus
iRule 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 added Xerver: ABC, not Server: ABC. I changed to Server instead but failed working. Any ideas? Please help. Thanks so much!!
In the Definition field, paste the following iRule:
when HTTP_RESPONSE { if { [HTTP::header exists "Server"] } { HTTP::header insert Xerver [HTTP::header value "Server"] } }