Forum Discussion
Babar_Ansari
Nimbostratus
Nov 06, 2019url redirection to another url hosted on the same F5 device
Hi, I have a requirement to perform url redirection from url 1 to url 2. Both url's have their VIP configured on the same F5 device. url 1 : http://abc.xyz.com url 2: http://pqr.xyz.com/123 ...
RossVermette
Nimbostratus
Nov 06, 2019You can do a quick irule, some thing like this:
when HTTP_REQUEST {
switch [string tolower [HTTP::host]] {
"abc.xyz.com" {
HTTP:redirect "https://pqr.xyz.com/123"
}
}
}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
