Forum Discussion

Sean_2014_18045's avatar
Sean_2014_18045
Icon for Nimbostratus rankNimbostratus
Dec 17, 2014

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

  • 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

    pool POOLNAME
    command.

  • 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.