Forum Discussion
sampoudel11_343
Nimbostratus
Dec 08, 2017http redirection for the URLs with wildcard
Hi I am trying to create the redirection iRule that will redirect wildcard.123.abc.com/wildcard to wildcard.123.xyz.com/wildcard. I created the following iRule and I think the logic is ok. But, I do ...
Stanislas_Piro2
Cumulonimbus
Dec 08, 2017I don't understand what you are trying to do with string map. Try this code:
when HTTP_REQUEST {
if { [HTTP::host] equals "123.abc.com" } {
HTTP::redirect "http://123.xyz.com[HTTP::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