Forum Discussion

EmBee_57573's avatar
EmBee_57573
Icon for Nimbostratus rankNimbostratus
Apr 30, 2015

LTM policy URI rewriting - http-uri path wildcard

Hi all, I am working with an LTM version 11.6.0 and working with LTM/policies to rewrite URIs. (instead of irules) I have virtual with a pool1 attached to it and the following policy attached to it.

 

It is working fine for specific URIs, but I also want to catch any other URI.

 

so: my policy will look like this: http://[hostname]/PATH/ 1.Check on URI path A: if path equals path A, rewrite hostname and send to pool A 2.Check on URI path B: if path equals path B, rewrite hostname and send to pool B 3.Check on URI=/sorry/: if path equals /sorry/, assign sorry_pool & rewrite URI PATH to / 4.If error code redirect to http://[hostname]/sorry/ 5.Catch all other URIs and assign sorry pool & rewrite URI path to /

 

Everything works, exexpt for 5. We have to use all-match because we also want to catch server errors in case path A becomes unavailable. Otherwise we could use the fist-match.

 

My question is the following:

 

 

What to fill in at the value list for the http-uri path values to catch all other URI's.

 

/. does not work, neither does /.*.

 

Any clue?