Forum Discussion
mahesh_muttath_
Nimbostratus
Sep 28, 2016301 iRule redirect with a string to match in the URL
Hi I am looking for help to get 301 irule Redirect for my below URL. your immediate help would be much appreciated.i'm in a bit Crisis here now ... :) iRule Experts , over to you..
https://abcd....
Vijay_E
Cirrus
Sep 28, 2016Try something like this:
when HTTP_REQUEST {
if { ([HTTP::host] eq "abcd.com") and ([HTTP::uri] eq "/sites/swift/%uri%") } {
HTTP::respond 301 Location "https://x.abcd.com/sites/swift/%uri%"
}
}
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