Forum Discussion
Anush
Nimbostratus
Sep 26, 2018url redirection LTM
Hi Experts,
I have one requirement in which application on server making a http call and F5 needs to convert that call to different URL. based on my understanding in basic browser based redirec...
volodh_214395
Nimbostratus
Oct 02, 2018Try this one-
when HTTP_REQUEST {
if { [HTTP::host] equals "10.1.1.1" and [HTTP::uri] starts_with "/enterprise/payments" } {
HTTP::redirect "http://abc.com/enterprise/payments"
}
}
If you want request to abc.com come from Virtual server IP, configure Source Address Translation to Auto Map and apply this iRule -
when CLIENT_ACCEPTED {
snat [IP::local_addr]
}
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
