Forum Discussion

Puneet_73909's avatar
Puneet_73909
Icon for Nimbostratus rankNimbostratus
Mar 08, 2010

Re-direct on an outgoing URL

Hi,

 

 

We want to be able to set a re-direct on an outgoing URL (Inside to the outside intertnet) on the Load Balancer.

 

For e.g;

 

If the outgoing packet has the following URL:

 

recs.igodigital.com

 

 

Redirect that to:

 

recs-gamma-aws-lb.igodigital.com

 

 

Please provide us the solution asap.

 

 

Regards,

 

Puneet Khanna

 

 

1 Reply

  • Hi Puneet,

     

     

    Can you clarify when you want LTM to issue a redirect to the URL? Is it on HTTP redirects? Or do you want to send a redirect to the URL when the application sends a specific response code? Or do you want to search for response content that contains recs.igodigital.com and rewrite the references to recs-gamma-aws-lb.igodigital.com?

     

     

    For the last case, you can use an iRule like this:

     

     

    URL rewrite

     

    http://devcentral.f5.com/Default.aspx?tabid=53&view=topic&postid=1167408&ptarget=1167410

     

     

    Aaron