Forum Discussion

Vivian_Peng_967's avatar
Vivian_Peng_967
Icon for Nimbostratus rankNimbostratus
Oct 17, 2006

Need help to write a iRule to do a http redirect without update the user's browser with the redirected url?

Hi All,

 

 

I am new to this forum. F5 support suggestes me try to post my question here. What I need is to redirect a http site http://www.site-one.com/blogs (new site) to http://www.site-two.com/wordpress (existing site). The requirement is the user's browser's url will remain as http://www.site-one.com/blogs. How can I do this with a iRule since normally the user's url will be updated with the url it is redirected to?

 

 

Your help is very appreciated!

 

 

Vivian
  • Hi Joe,

     

     

    Unfortunately, site-one is the site we host behind of bigip and site-two is not hosted by us. SO it's not possiblt at all?

     

     

    Thanks for providing assistance.

     

     

    Vivian
  • Colin_Walker_12's avatar
    Colin_Walker_12
    Historic F5 Account
    Unfortunately, if "site-two" isn't behind the BIG-IP, then the client is going to have to make a request to that site at some point. If the site were behind the BIG-IP, you could use their initial request and just modify the headers both inbound/outbound to keep the client and server thinking everything was normal. Since it's not, there's no real way around having the client make the request themselves.

     

     

    Colin