Forum Discussion
VIP in https that redirect to another vip in https
- Dec 29, 2025
Hi,
I found the solution with a redirect to the pool and a special Irule that replace the http request - http:header host and the http:header Location in the response.
Thanks for the support.
Hi,
I found the solution with a redirect to the pool and a special Irule that replace the http request - http:header host and the http:header Location in the response.
Thanks for the support.
- PeteWhiteDec 31, 2025
Employee
I think you are not talking about redirect in the usual HTTP status code 302 redirect, you are talking about using the virtual server to internally send traffic to a different pool and changing the host header.
The other way is to perform a 302 redirect. Here is an iRule which will do that for you:
when HTTP_REQUEST { if { [HTTP::path] starts_with '/prova'} { HTTP::redirect "https://target.fqdn" return } }You can also do this with an LTM Traffic policy
- Melissa_CJan 05, 2026
Moderator
Hello DanieleS9
Glad to see you were able to find the solution! Going to mark as solution for other user to reference in case they run into this issue as well.
-Melissa
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