Forum Discussion
iRule to Redirect to Another VS on the same LTM
Hello Adam,
Have you instead looked into HTTP::redirect?
This would change your flow so that the client sends a separate HTTP request to vs1 and vs2, making a separate connection to your other virtual servers. It might simplify your configuration a little more. That way you could do source_addr persistence, etc.
Best of luck,
Austin
Unfortunately HTTP:redirect is not an option because in order to switch traffic to the other virtual server, I will either have to:
- Redirect the user to a different sub-domain that resolves to the IP address of the other virtual server (eg. https://vs2.example.com)
- Redirect the user to the same sub-domain but add a custom port at the back of the hostname (https://www.example.com:5000/abc)
Both these options are unacceptable as the requirement is that the whole thing is transparent to the users and that the user's browser address bar only shows either https://www.example.com/abc or https://www.example.com/def.
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