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

Hi,

You can use rewrite profile (since version 11.4)

Stanislas

The easiest solution might be to simply use the

HTTP::uri

command.

when HTTP_REQUEST {

    HTTP::uri /subsite[HTTP::uri]

}

documentation