iRules to redirect traffic https to http as well as changing the URL
Hi Masters,
I need advise, i have case let say:
I have one VS Https: 11.11.11.11 with two url (url: https://abc.com/1/) and (url: https://cba.com/1/)
Pool member is:
1. 10.10.10.9 (url: http://xyz:8080/1/)
2. 10.10.10.10 (url: http://xyz:80/1/)
The topology like this : Client > Firewall > F5 > Member/Node
My objective is I want to redirect traffic from the client if:
1. Traffic client from https (url: https://abc.com/1/) should be redirect to pool member/node 10.10.10.9 with (url: http://xyz:8080/1/)
2. Traffic client from https (url: https://cba.com/1/) should be redirect to pool member/node 10.10.10.10 with (url: http://xyz:80/1/)
Is it possible to create iRules? what kind iRules should i create?
Thanks in advance!
Bobow,
I wonder if this DC article will help. Are you using SNI on the virtual server to distinguish between domains? If so then see SNI Routing with Local Traffic Policies and perhaps this question too.