Forum Discussion

Ram_75191's avatar
Ram_75191
Icon for Nimbostratus rankNimbostratus
Sep 21, 2013

iRule to Block /Redirect URL

Hello all,

 

Need some help with iRules. In short, we various URL’s and want to control access to them:

 

Blocked or redirected to a F5 Maintenance page: · URL1: AAA.BBB.com · URL2: AAA.BBB.com/xxx/Path01 · URL3: AAA.BBB.com/xxx/Path04

 

Allow pass-through to the URL: · URL4: AAA.BBB.com/xxx/Path02 · URL5: AAA.BBB.com/xxx/Path03

 

Can this be done by having a 1 rule that blocks everything except URL’s in the allowed list? If not, how can we get this working?

 

Thanks, RI