Forum Discussion
Irule redirect link error to default domain
make sure you have new iRule above existing iRule. Also if it is already there, then it seems end statements is not getting matched.
One question here,
is URI 'DetailJob.aspx?Mod=search&CatId=21&job=1029042&Lang=vi' is same all the time?
If yes, then may be you can try below iRule. It is working fine. I've tested it in my lab setup.
when HTTP_REQUEST {
if {[HTTP::host] equals "test.abc.com" and [HTTP::uri] equals "/DetailJob.aspx?Mod=search&CatId=21&job=1029042&Lang=vi"} {
HTTP::redirect "https://test.abc.com"
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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