Forum Discussion
URL redirect
Hi,
I don't get you.
Have you applied the irule that I sent in my reply, this irule should redirect the hostname but keeps the rest of URI.
please clarify more
I didn't work.
here is exact requirements:
https://tableau-snd.ucsf.edu/#/site/QA/views/ProjectChartfieldSearch/ProjectChartfieldSearch
/#/site/QA/ : will be same
ProjectChartfieldSearch/ProjectChartfieldSearch : Can be anything
Redirect to:
https://tableauqa.ucsf.edu/#/site/QA/views/ProjectChartfieldSearch/ProjectChartfieldSearch
- Sep 17, 2024
Hi msaud
My code should grantee this, it will copy the path in first request to the redirected request.
If you change the first request like this :
https://tableau-snd.ucsf.edu/#/site/QA/views/ProjectChartfieldSearch/newone
the redirected request will be like that:
https://tableauqa.ucsf.edu/#/site/QA/views/ProjectChartfieldSearch/newone
so it should work.
Take a packet capture and see what's going on
Feel free to share it with me if this available with you- msaudSep 19, 2024Cirrus
I think we need to focus on below redirect.
https://tableau-snd.ucsf.edu/#/site/QA to server https://tableauQA.ucsf.edu/#/site/QA- Sep 23, 2024
Hi msaud ,
This irule should meet your needs in the last query:
when HTTP_REQUEST { if { [HTTP::host] equals "tableau-snd.ucsf.edu"} { HTTP::redirect "https://tableauQA.ucsf.edu[HTTP::path]" } }
You may need to adjust your DNS A record for this FQDN : tableauQA.ucsf.edu.Take a Packet capture after deploying this irule and see what happen.
Also you can perform this using LTM policy
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