Forum Discussion

SamAyres's avatar
SamAyres
Icon for Nimbostratus rankNimbostratus
Dec 15, 2013

Proxy Pass Irule 10.9 Data Group question I need to strip off the 1st part of client uri but pass the rest to server side see notes

I am trying to setup a external DG to use with the proxy pass Irule on Dev central. Dev Central link https://devcentral.f5.com/wiki/iRules.proxypassv10.ashx oksy below is how I need it to work . Any help would be great.

 

example

 

"csiproxy-dev.us.randomhouse.com/biz/" := "biz-prd.us.randomhouse.com/" biz-prd-pool "csiproxy-dev.us.randomhouse.com/ecomm/" := "bizcommerce1-prd:8080/" ecom-prd pool

 

"csiproxy-dev.us.randomhouse.com/obr/":= "door-prd.us.randomhouse.com/" door-prd pool

 

If host is cisproxy-dev.us.randomhouse.com or csiproxy-dev and uri starts with /biz/ I need it to pass biz-prd.us.randomhouse.com/the uri from request minus /biz/ so I need to change host and strip /biz/ but pass the rest o of uri to a specific pool. What is the best way to do this. I was thinking I could use the proxypass I rule I found , but I am not sure what the DG would look like.

 

No RepliesBe the first to reply