Forum Discussion

noissueChris's avatar
noissueChris
Icon for Nimbostratus rankNimbostratus
May 20, 2024

How to Match Dynamic URI Segments in AS3

Hello Folks,

I am working with F5 BIG-IP’s AS3 and I need to configure it to match and handle URI paths that include dynamic segments, specifically numbers following a certain path prefix (e.g., https://website.com/firstpart/{dynamic_number}). 

However, I need to ensure that the configuration does not match or include any URIs that extend beyond the specific pattern, such as https://website.com/firstpart/specific or https://website.com/firstpart/specific/evenmorespecific.

Is there a way within AS3 itself to handle these kinds of dynamic URIs directly, or would I need to integrate iRules to achieve this level of pattern matching? Any advice or examples would be greatly appreciated!

Thank you!

No RepliesBe the first to reply