Forum Discussion
msaud
Oct 09, 2023Cirrus
URL redirection
Hi Team, Need your help on below URL redirection. https://tableau.ucsf.edu/#/views/ZeroHarm/Summary https://tableau.ucsf.edu/#/views/ZeroHarm/ZeroHarmDetail https://tableau.ucsf.edu/#/views...
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 :
msaud
Oct 09, 2023Cirrus
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
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