Forum Discussion
sampoudel11_343
Nimbostratus
8 years agohttp 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 ...
stan_piron
Cumulonimbus
8 years agoI 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]"
}
}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