Forum Discussion

Mohit_Pathk's avatar
Mohit_Pathk
Icon for Nimbostratus rankNimbostratus
Nov 28, 2014

Suggest iRule to redirect website but not change the URL in browser

Hi,

 

I am new to F5 and i have been given a task to configure a redirection using F5 V.11. We have our company website www.example.com in production behind loadbalancer. We need to configure Loadbalancer in such a way that www.example.com/123 should be redirected to an external website www.abc.com/567/xyz BUT in the users browser it should appear as www.example.com/123.

 

I would be thank full for any in this regards. It would be very kind of you if you can give me a little brief about the config you suggest as i am new to it.

 

Regards Mohit Pathak

 

2 Replies

  • From another devcentral post:

     

    The ProxyPass iRule is a good option if you're running v10 through v11.3. It will seamlessly replace all internal and external references based on pattern matching.

     

    The new rewrite profile in v11.4 replaces the above ProxyPass functionality.

     

    You're looking to rewrite the host and path but not necessarily redirect. If you redirect, it will change the URL in the browser, so we call what you are looking for as a reverse proxy rewrite functionality.