Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 
Custom Alert Banner

F5 Rewrite URI Translation profile

NUCUSER
Cirrus
Cirrus

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 1

Paulius
MVP
MVP

@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?