Forum Discussion
F5 Rewrite URI Translation profile
I am trying to implement a rewrite uri translation profile, along the lines of..
(client) https://www.testsite.com/collect
translates to:-
(server) https://www.testsite.com/xyz_customer/
The above is working fine however I also require a catch-all entry for anything that does not match (client) https://www.testsite.com/collect, redirect to a an 'oops' page or similar. According to the f5 documentation, a request does not need to match any entry. That is if no entries match and there is no catch-all entry, the rewrite profile has no effect.
I have tried using a wildcard as the last entry in the list, i.e:-
(client) https://*/
translates to:-
(server) https://oopspage/
Can anyone suggest how I can add a catch-all entry using a profile (vs using an i-rule)?
1 Reply
NUCUSERCan you please provide the current configuration of your iRule so that I can better understand what current actions you are taking and then we can come up with something that works for your situation?
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