Forum Discussion
Dec 08, 2015
HTTP redirect with different URIs
Hi,
I have a request to redirect traffic from http://www.abc.com/sites/pmo to http://www.xyz.com/is/pmo. The customer wants all deep links past pmo to work. I tried the below irule, but it is not...
Kai_Wilke
MVP
Dec 08, 2015Hi Joe,
you may try this snipped...
when HTTP_REQUEST {
if { [HTTP::uri] contains "/sites/pmo"} {
HTTP::redirect "http://www.xyz.com/is[string range [HTTP::uri] 6 end]"
}
}
Cheers, Kai
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