Forum Discussion
Tuan_Vu
Nimbostratus
Mar 31, 2020Irule redirect link error to default domain
Hello, I have a domain abc.com new build, i want to redirect all link old or error go to home page, and all the old links have the same structure. Exam old link: https://test.abc.com.vn/DetailJ...
Mayur_Sutare
MVP
Mar 31, 2020yes right. In that case, try below iRule which is specific to host.
when HTTP_REQUEST {
if { [HTTP::host] equals "test.abc.com" and [HTTP::uri] ends_with "Lang=vi" } {
HTTP::redirect "https://test.abc.com"
}
}
Mayur
- Tuan_VuMar 31, 2020
Nimbostratus
Hi Mayur,
It not working for me. You have know a other solution, help me!
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
