For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

Shawn_P_121743's avatar
Shawn_P_121743
Icon for Nimbostratus rankNimbostratus
Aug 14, 2015

Rewrite URI between F5 and Pool Member

I am in need of rewriting all inbound https requests that hit the front end of my web LTM and direct them to a subsite on the pool member server.

 

=======================================

 

Internet -> F5 - https://www.abc.com

 

F5 -> Pool member - http://www.abc.com/subsite

 

=======================================

 

The internet web browser user should never see the "/subsite" in the URL.

 

Any help on proper irule syntax to assist with this?

 

Thanks!

 

Shawn

 

2 Replies

  • Arie's avatar
    Arie
    Icon for Altostratus rankAltostratus

    The easiest solution might be to simply use the

    HTTP::uri
    command.

    when HTTP_REQUEST {
    
        HTTP::uri /subsite[HTTP::uri]
    
    }
    

    documentation