Looking at the use case in the question, it seems you want to redirect request based on the URI path. For this, you can match it during http request event using irule or LTM policy. I would recommend you to use LTM policy which will match the URI path at request and then under actions, request can be forwarded to the desired pool, virtual server etc. depending on your requirement. Just make sure about the desired SSL configurations on the VS.