Forum Discussion
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?
1 Reply
- amolari
Cirrostratus
andhttp-uri
?starts-with /
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com