Forum Discussion
Darrin_20019
Nimbostratus
Oct 06, 2016iRule to convert backend server response
I have a vendor web server I am able to make changes. It is set to use HTTP.
I would like to use the F5 LB infront of the application to provide https.
I have the F5 configured and a client...
Vijay_E
Cirrus
Oct 06, 2016Try something like this in an iRule attached to the VS:
when HTTP_RESPONSE {
if { [HTTP::header values Location] contains "10.10.10.10" } {
HTTP::header replace Location [string map {10.10.10.10 test.domain.com} [HTTP::header value Location]]
}
}
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