Forum Discussion
Senthil_7991
Nimbostratus
Sep 13, 2017Irule Redirection URL
Hi,
We would like to redirect from "https://apac.com/cit/* to ";
Please assist with this iRule
Thank you
Stanislas_Piro2
Cumulonimbus
Sep 17, 2017Hi,
you can do it with a Local trafic policy instead of irule (Policies only support 302 redirect, not 301)
or you can correct your irule to :
when HTTP_REQUEST {
if { [HTTP::host] equals "apac.com" and [string tolower [HTTP::uri]] starts_with "/cit" } {
HTTP::redirect "https://abc.com/Cit/RDC/default.htm"
}
}
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
