Forum Discussion

Aj15's avatar
Aj15
Icon for Altostratus rankAltostratus
Jun 12, 2021

Need Help to write Irule or LTM policy

We have two version for URL

www.xyz.com/v17 to 20

www.xyz.com/v15 to 16

need built irule if request arrive for v15to 16 it should stay in DC F5

but if request arrive for v17 and above it should redirect traffic toward AWS node(VS and FQDN (AWS) node has been already configured on DC Ff )

  • 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.

    Hope it helps!​