Forum Discussion
redirect a https URI to a node address via http but still dispaly original https URI to users
I am creating a iRule to redirect a https URI to a node via http but still dispaly original https URI to users.
Here is what I exactly need, For example, when an public user visit https://orders.abcd.com/prod/disorderpost,then BIGIP LTM will redirect it to http://192.168.1.9/prod/disorderpost. Also, the public user can still see https://orders.abcd.com/prod/disorderpost
When an public user visit https://orders.abcd.com/test/disorderpost,then BIGIP LTM will redirect it to http://192.168.1.10/test/disorderpost. Also, the public user can still see https://orders.abcd.com/test/disorderpost
thanks, Sean
2 Replies
- Michael_Jenkins
Cirrostratus
You should be able to do this just by using a Pool. Create a pool with the 192.168.1.10 address, and in an iRule you can check for that URI and set the pool using the
command.pool POOLNAME - Michael_Jenkins
Cirrostratus
The easiest way would be to create a pool even if it only has one member and set the pool in the iRule as desired... I've used that method numerous times in my environment without any issue.
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