Forum Discussion
spalande
Jun 16, 2020Nacreous
iRule assistance
Is it possible to use iRule to have redirect for following requirement?
https://*.abc.com ---> https://*.xyz.com
where * can be any name and should be retain in redirecting to xyz.com
Ex. https://education.abc.com ----> https://education.xyz.com
https://review.abc.com ---> https://review.xyz.com
Try below irule which will solve redirection issue.
when HTTP_REQUEST { HTTP::redirect "https://[string tolower [getfield [HTTP::host] "." 1].xyz.com" }
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