Forum Discussion

Annsar_Akhtar's avatar
Annsar_Akhtar
Icon for Nimbostratus rankNimbostratus
Jun 23, 2014

ProxyPass irule query, dynamic rewrites

Hi All

 

I was wondering what is the best way to use the ProxyPass, we are currently running version 11.2.1 (HF 10):

 

(https://devcentral.f5.com/wiki/iRules.proxypassv10.ashx) for dynamic paths, I have it setup and working for static paths but have requirement for it to be dynamic.

 

I thought a regular expression would work, i.e. so any request which start with

 

site1.test.com/test-site/* rewrite to site2.test.com/test.web.portal/test/*, the traffic for site2 is handled by the F5 but via another pool:

 

"/test-site" =site1.test.com/test-site/(.*?)/=site2.test.com/test.web.portal/test/$1= /test/site2-HTTP-POOL

 

Thanks

 

1 Reply

  • I just wondered if anyone has any pointers on dynamic rewrites, ideally we want to use the F5s to handle the rewrites but might have to end up using a third party software.

     

    Thanks in advance