Forum Discussion
RobinsonJA_2717
Nimbostratus
May 19, 2017iRule to modify http response
Hello all,
Seeking some assistance with modifying a http response from a server back to a client.
Senario is as follows (All web traffic)
VS_A answers on 443 and sends to pool members on 9999...
Pedro_Haoa
May 19, 2017Ret. Employee
Hi,
Try this iRule:
when HTTP_RESPONSE { if { [HTTP::status] equals "302" && [HTTP::header Location] contains ":9999/" } { HTTP::header replace Location [string map {":9999/" ""} [HTTP::header Location]] } }
I hope it helps.
Cheers!
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