Forum Discussion
msaud
Sep 12, 2024Cirrus
URL redirect
Hi Team, Can someone please help me to build the irule script. I have two VS VS1: vs_tableau.ucsf.edu_443 pool: pool_tableau.ucsf.edu_443 VS2: vs_tableauqa.ucsf.edu_443 pool:pool_tableauqa.ucs...
Sep 12, 2024
Hi,
Use this iRule:
when HTTP_REQUEST {
if { [HTTP::host] equals "tableau.ucsf.edu"} {
HTTP::redirect "https://tableauqa.ucsf.edu[HTTP::path]"
}
}
I haven't tested it, so check it and let me know.
Also you can do it using LTM policy , it much lightweight compared with irules and pretty much easy
See this article it has the idea: https://my.f5.com/manage/s/article/K15117465
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