Forum Discussion
URL redirection
Hi msaud ,
you can test the below irule :
when HTTP_REQUEST {
if { [HTTP::host] equals "tableau.ucsf.edu"} {
if { [HTTP::path] contains "/Summary" or [HTTP::path] contains "/ZeroHarmDetail" or [HTTP::path] contains "/MetricDetail"} {
HTTP::redirect "https://tableau.ucsf.edu/#/views/ZeroHarm2_0-Summary/Summary"
}
}
}
you can do it using LTM policy it will be much easier , if you need a help on it just tell me.
I haven't tested this irule but it's correct as a syntax.
these are some Articles should help in this :
Thanks for your support.
I think we should go for "you can do it using LTM policy it will be much easier "
- Oct 09, 2023
Okay dear msaud ,
you can configure it like this way :
No need to add host names , as I assume that this virtual server hosts only one hostname.
Try it and let me know
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
